]> git.baikalelectronics.ru Git - kernel.git/commit
knfsd: Fixed problem with NFS exporting directories which are mounted on.
authorNeil Brown <neilb@suse.de>
Wed, 5 Sep 2007 21:22:12 +0000 (17:22 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Sep 2007 01:57:47 +0000 (18:57 -0700)
commit8ed54aef264a5df71b751d0a50a51376773e0ea0
tree9e0bd5906c957d290d3291de3543a430f9864283
parentccf90b6df77095627698370d9851c88ed2e0ca2c
knfsd: Fixed problem with NFS exporting directories which are mounted on.

Recent changes in NFSd cause a directory which is mounted-on
to not appear properly when the filesystem containing it is exported.

*exp_get* now returns -ENOENT rather than NULL and when
  commit 9785d4eb807b3622d3a0fa2209709451b61ce6fa
removed the NULL checks, it didn't add a check for -ENOENT.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/vfs.c