Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1185a552 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Ensure nfs4_close_context() is declared as static



Fix another 'sparse' warning in fs/nfs/nfs4proc.c

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 0a6566ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;