From: NeilBrown Date: Wed, 14 Feb 2007 08:33:11 +0000 (-0800) Subject: [PATCH] knfsd: fix return value for writes to some files in 'nfsd' filesystem X-Git-Tag: v2.6.21-rc1~254 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8971a1016b9db4164c3c1b47ae1fde2818becf91;p=pandora-kernel.git [PATCH] knfsd: fix return value for writes to some files in 'nfsd' filesystem Most files in the 'nfsd' filesystem are transactional. When you write, a reply is generated that can be read back only on the same 'file'. If the reply has zero length, the 'write' will incorrectly return a value of '0' instead of the length that was written. This causes 'rpc.nfsd' to give an annoying warning. This patch fixes the test. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed