]> git.neil.brown.name Git - nfs-utils.git/commit
Fix bug in auto-exporting subordinate mounts.
authorNeil Brown <neilb@suse.de>
Thu, 1 Nov 2007 05:16:57 +0000 (16:16 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 1 Nov 2007 05:16:57 +0000 (16:16 +1100)
commit5a2e4e14857f40e4b6a1e1cec4e77cb5c296913e
treefa94e3cd2412e700ce3712068ad1972dce1dae70
parent6af0f6d579e8f440bc97428fc9aca6d58a884a80
Fix bug in auto-exporting subordinate mounts.

When mountd gets a request to export a mountpoint which is not
explicitly exported, but is below an export point that is flagged as
"crossmnt", it passes the wrong path name to the kernel for the
  "filehandle -> directory"
mapping.
This can badly confuse the NFS client, and is certainly wrong.

So use the correct path names.
utils/mountd/cache.c