NFSv4: Ensure nfs4_close_context() is declared as static
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 20:54:02 +0000 (15:54 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 20:54:02 +0000 (15:54 -0500)
Fix another 'sparse' warning in fs/nfs/nfs4proc.c

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c

index c7b8d39a3ce1f5c2a96b123c2a34342fdeabdcfd..df8a734f1c05c4c8b4cdad0e350d89f848ea9927 100644 (file)
@@ -1987,7 +1987,7 @@ out_drop:
        return 0;
 }
 
-void nfs4_close_context(struct nfs_open_context *ctx, int is_sync)
+static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync)
 {
        if (ctx->state == NULL)
                return;