summary refs log tree commit diff
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-25 16:10:47 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-26 16:53:57 -0400
commit1e6f209515a08de29ec53b653eac73b50efd949c (patch)
tree5fbb6452e99d9c30de647e697eff178d9cd38663 /fs/nfs/file.c
parent1ebf980127924c639e2b85c08468311ba1c95b70 (diff)
downloadlinux-1e6f209515a08de29ec53b653eac73b50efd949c.tar.gz
NFS: Use raw NFS access mask in nfs4_opendata_access()
Commit bd8b2441742b ("NFS: Store the raw NFS access mask in the inode's
access cache") changed how the access results are stored after an
access() call.  An NFS v4 OPEN might have access bits returned with the
opendata, so we should use the NFS4_ACCESS values when determining the
return value in nfs4_opendata_access().

Fixes: bd8b2441742b ("NFS: Store the raw NFS access mask in the inode's
access cache")
Reported-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/nfs/file.c')
0 files changed, 0 insertions, 0 deletions