diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-03 15:54:02 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-03 15:54:02 -0500 |
commit | 1185a552e3d78807031f4021c5edb60d3e8838f1 (patch) | |
tree | c91d8b77610f640cd930f62407b9fc5fec283773 /fs/nfs/nfs4proc.c | |
parent | 0a6566ecd3afc74aad11c2e07794ff5529c13862 (diff) |
NFSv4: Ensure nfs4_close_context() is declared as static
Fix another 'sparse' warning in fs/nfs/nfs4proc.c
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index c7b8d39a3ce1..df8a734f1c05 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1987,7 +1987,7 @@ out_drop: | |||
1987 | return 0; | 1987 | return 0; |
1988 | } | 1988 | } |
1989 | 1989 | ||
1990 | void nfs4_close_context(struct nfs_open_context *ctx, int is_sync) | 1990 | static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync) |
1991 | { | 1991 | { |
1992 | if (ctx->state == NULL) | 1992 | if (ctx->state == NULL) |
1993 | return; | 1993 | return; |