commit | 55725513b5ef9d462aa3e18527658a0362aaae83 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Apr 18 12:48:35 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Apr 19 13:23:08 2012 -0400 |
tree | e258eff89b9c1b72a4c1e6ff136ddd477c8ca9ef | |
parent | 05ffe24f5290dc095f98fbaf84afe51ef404ccc5 [diff] |
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