diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-26 12:00:21 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-10-16 13:51:27 -0400 |
commit | 1750d929b08764dd293d5bdddaa9bc4d3f94d228 (patch) | |
tree | 92832c1be321397bd8ead4d530bda3889db87160 /arch/x86/kernel | |
parent | 3c1818275cc65c6d53e0adfde0c989bfe89ab8d7 (diff) | |
download | linux-stable-1750d929b08764dd293d5bdddaa9bc4d3f94d228.tar.gz linux-stable-1750d929b08764dd293d5bdddaa9bc4d3f94d228.tar.bz2 linux-stable-1750d929b08764dd293d5bdddaa9bc4d3f94d228.zip |
NFS: Don't compare apples to elephants to determine access bits
The NFS_ACCESS_* flags aren't a 1:1 mapping to the MAY_* flags, so
checking for MAY_WHATEVER might have surprising results in
nfs*_proc_access(). Let's simplify this check when determining which
bits to ask for, and do it in a generic place instead of copying code
for each NFS version.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions