From: Trond Myklebust Date: Wed, 18 Apr 2012 16:48:35 +0000 (-0400) Subject: NFSv4: Ensure that we check lock exclusive/shared type against open modes X-Git-Tag: v3.4-rc5~29^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55725513b5ef9d462aa3e18527658a0362aaae83;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org --- Reading git-diff-tree failed