diff options
author | Daniel Mack <zonque@gmail.com> | 2011-05-16 16:38:14 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-05-18 15:28:31 -0400 |
commit | c47d832bc0155153920e507f075647519bad09a2 (patch) | |
tree | 3ec53c2ac4f398d046d0bcf8409db7630a9b473e /fs/nfsd/nfs4state.c | |
parent | 6ce2357f1e73e0da8ebeace6ec829f48a646bb8c (diff) | |
download | blackbird-op-linux-c47d832bc0155153920e507f075647519bad09a2.tar.gz blackbird-op-linux-c47d832bc0155153920e507f075647519bad09a2.zip |
nfsd: make local functions static
This also fixes a number of sparse warnings.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: J. Bruce Fields <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index a2ea14f40b42..a8e4e91587ab 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2482,7 +2482,7 @@ find_delegation_file(struct nfs4_file *fp, stateid_t *stid) return NULL; } -int share_access_to_flags(u32 share_access) +static int share_access_to_flags(u32 share_access) { share_access &= ~NFS4_SHARE_WANT_MASK; @@ -2902,7 +2902,7 @@ out: return status; } -struct lock_manager nfsd4_manager = { +static struct lock_manager nfsd4_manager = { }; static void |