diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-18 12:48:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:56:31 -0700 |
commit | 95cb2c603f27af05871e3e6718b6e1e1a6f59417 (patch) | |
tree | f6ac9a662274dadbfd3cc4d1dbfaae1273952247 /fs/ubifs/ubifs-media.h | |
parent | 03a9f194904985d2844a2906ba02306289b0b4e7 (diff) |
NFSv4: Ensure that we check lock exclusive/shared type against open modes
commit 55725513b5ef9d462aa3e18527658a0362aaae83 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ubifs/ubifs-media.h')
0 files changed, 0 insertions, 0 deletions