* [PATCH] nfsd: remove redundant declarations
@ 2012-11-27 11:42 Stanislav Kinsbursky
2012-11-28 15:12 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Stanislav Kinsbursky @ 2012-11-27 11:42 UTC (permalink / raw)
To: bfields; +Cc: linux-nfs, Trond.Myklebust, linux-kernel, devel
This is a cleanup patch. Functions nfsd_pool_stats_open() and
nfsd_pool_stats_release() are declared in fs/nfsd/nfsd.h.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
---
fs/nfsd/nfsctl.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 7e41bd1..d902f83 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -186,9 +186,6 @@ static struct file_operations supported_enctypes_ops = {
};
#endif /* CONFIG_SUNRPC_GSS or CONFIG_SUNRPC_GSS_MODULE */
-extern int nfsd_pool_stats_open(struct inode *inode, struct file *file);
-extern int nfsd_pool_stats_release(struct inode *inode, struct file *file);
-
static const struct file_operations pool_stats_operations = {
.open = nfsd_pool_stats_open,
.read = seq_read,
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] nfsd: remove redundant declarations
2012-11-27 11:42 [PATCH] nfsd: remove redundant declarations Stanislav Kinsbursky
@ 2012-11-28 15:12 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2012-11-28 15:12 UTC (permalink / raw)
To: Stanislav Kinsbursky; +Cc: linux-nfs, Trond.Myklebust, linux-kernel, devel
On Tue, Nov 27, 2012 at 02:42:20PM +0300, Stanislav Kinsbursky wrote:
> This is a cleanup patch. Functions nfsd_pool_stats_open() and
> nfsd_pool_stats_release() are declared in fs/nfsd/nfsd.h.
OK, applying.
--b.
>
> Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
> ---
> fs/nfsd/nfsctl.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
> index 7e41bd1..d902f83 100644
> --- a/fs/nfsd/nfsctl.c
> +++ b/fs/nfsd/nfsctl.c
> @@ -186,9 +186,6 @@ static struct file_operations supported_enctypes_ops = {
> };
> #endif /* CONFIG_SUNRPC_GSS or CONFIG_SUNRPC_GSS_MODULE */
>
> -extern int nfsd_pool_stats_open(struct inode *inode, struct file *file);
> -extern int nfsd_pool_stats_release(struct inode *inode, struct file *file);
> -
> static const struct file_operations pool_stats_operations = {
> .open = nfsd_pool_stats_open,
> .read = seq_read,
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-28 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 11:42 [PATCH] nfsd: remove redundant declarations Stanislav Kinsbursky
2012-11-28 15:12 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).