Skip to content

Commit

Permalink
NFSv4: Ensure nfs4_close_context() is declared as static
Browse files Browse the repository at this point in the history
Fix another 'sparse' warning in fs/nfs/nfs4proc.c

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Dec 3, 2009
1 parent 0a6566e commit 1185a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ nfs4_open_revalidate(struct inode *dir, struct dentry *dentry, int openflags, st
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;
Expand Down

0 comments on commit 1185a55

Please sign in to comment.