From: Al Viro Date: Thu, 19 Jan 2006 01:43:48 +0000 (-0800) Subject: [PATCH] nfsd4_lock() returns bogus values to clients X-Git-Tag: v2.6.16-rc2~281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcd53303de8dbbed863f6471ca92eb96a1faa28;p=pandora-kernel.git [PATCH] nfsd4_lock() returns bogus values to clients missing nfserrno() in default case of a switch by return value of posix_lock_file(); as the result we send negative host-endian to clients that expect positive network-endian, preferably mentioned in RFC... BTW, that case is not impossible - posix_lock_file() can return -ENOLCK and we do not handle that one explicitly. Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed