]> 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)
commit10456ceb703ec37ce55f9f0424498a6cabf091f3
treea8fd1d7db096c4479e5582b64a0227c56751ce4b
parentd6002502ca1cc5757f091d494060516b2749a09e
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