summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-04-18 18:48:35 +0200
committerTrond Myklebust2012-04-19 19:23:08 +0200
commit55725513b5ef9d462aa3e18527658a0362aaae83 (patch)
treee258eff89b9c1b72a4c1e6ff136ddd477c8ca9ef /fs/nfs/dir.c
parentNFSv4: Ensure that the LOCK code sets exception->inode (diff)
downloadkernel-qcow2-linux-55725513b5ef9d462aa3e18527658a0362aaae83.tar.gz
kernel-qcow2-linux-55725513b5ef9d462aa3e18527658a0362aaae83.tar.xz
kernel-qcow2-linux-55725513b5ef9d462aa3e18527658a0362aaae83.zip
NFSv4: Ensure that we check lock exclusive/shared type against open modes
Since we may be simulating flock() locks using NFS byte range locks, we can't rely on the VFS having checked the file open mode for us. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions