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)
commita1033be72cdb053e182bb41e302a1c11e72b68bb
tree9e0bd5906c957d290d3291de3543a430f9864283
parent7d94143291e4e625e2bc3b1ebdc7143ee7a9a2f1
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 5d3dbbeaf56d0365ac6b5c0a0da0bd31cc4781e1
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