From: YAMAMOTO Takashi Date: Thu, 19 Jan 2006 01:43:13 +0000 (-0800) Subject: [PATCH] nfsd: check error status from nfsd_sync_dir X-Git-Tag: v2.6.16-rc2~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f193fbab2e4710f629e7c1859d4908646b47b126;p=pandora-kernel.git [PATCH] nfsd: check error status from nfsd_sync_dir Change nfsd_sync_dir to return an error if ->sync fails, and pass that error up through the stack. This involves a number of rearrangements of error paths, and care to distinguish between Linux -errno numbers and NFSERR numbers. In the 'create' routines, we continue with the 'setattr' even if a previous sync_dir failed. This patch is quite different from Takashi's in a few ways, but there is still a strong lineage. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed