diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2006-01-19 01:43:13 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-19 03:20:24 (GMT) |
commit | f193fbab2e4710f629e7c1859d4908646b47b126 (patch) | |
tree | f452b246ad608d2b53cf80a2ac79f77b347739df /fs/libfs.c | |
parent | 6b192832daae6d141063c49ae1ded6f7dddee50e (diff) | |
download | linux-fsl-qoriq-f193fbab2e4710f629e7c1859d4908646b47b126.tar.xz |
[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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions