From: NeilBrown Date: Fri, 8 Jul 2005 00:59:23 +0000 (-0700) Subject: [PATCH] nfsd4: return better error on io incompatible with open mode X-Git-Tag: v2.6.13-rc3~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b700949b781480819e53bdc38a53f053226dd75e;p=pandora-kernel.git [PATCH] nfsd4: return better error on io incompatible with open mode from RFC 3530: "Share reservations are established by OPEN operations and by their nature are mandatory in that when the OPEN denies READ or WRITE operations, that denial results in such operations being rejected with error NFS4ERR_LOCKED." (Note that share_denied is really only a legal error for OPEN.) Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed