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>
This commit is contained in:
committed by
J. Bruce Fields
parent
6ce2357f1e
commit
c47d832bc0
@@ -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
|
||||
|
Reference in New Issue
Block a user