]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: consolidate set_access and set_deny
authorJeff Layton <jlayton@redhat.com>
Fri, 11 May 2012 13:45:11 +0000 (09:45 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:46 +0000 (20:29 -0400)
commit0c13d93060b096a8e5cc909314521a8c248c908a
treea8fd1d7db096c4479e5582b64a0227c56751ce4b
parentad4012045795df8494a10e784a1e97623547e836
nfsd: consolidate set_access and set_deny

These functions are identical. Also, rename them to bmap_to_share_mode
to better reflect what they do, and have them just return the result
instead of passing in a pointer to the storage location.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c