summaryrefslogtreecommitdiffstats
path: root/fs/nfsctl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-07-31 00:37:53 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-31 15:39:38 -0700
commit4a4b88317aa02c82e66e37debb764d4ff3eedd70 (patch)
tree4a4a2157f5b4117d28c38cb290dd1c804246ffb1 /fs/nfsctl.c
parent0a725fc4d3bfc4734164863d6c50208b109ca5c7 (diff)
downloadop-kernel-dev-4a4b88317aa02c82e66e37debb764d4ff3eedd70.zip
op-kernel-dev-4a4b88317aa02c82e66e37debb764d4ff3eedd70.tar.gz
knfsd: eliminate unnecessary -ENOENT returns on export downcalls
A succesful downcall with a negative result (which indicates that the given filesystem is not exported to the given user) should not return an error. Currently mountd is depending on stdio to write these downcalls. With some versions of libc this appears to cause subsequent writes to attempt to write all accumulated data (for which writes previously failed) along with any new data. This can prevent the kernel from seeing responses to later downcalls. Symptoms will be that nfsd fails to respond to certain requests. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud