]> git.decadent.org.uk Git - nfs-utils.git/commit - utils/mountd/cache.c
mountd: regression in crossmounts
authorSteve Dickson <steved@redhat.com>
Sat, 23 Mar 2013 14:30:17 +0000 (10:30 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 25 Mar 2013 14:09:11 +0000 (10:09 -0400)
commitebe2826ca571a3959c3b5c8e29686c621f2775cf
tree3c976523587b18a95a4297ef14b9978f6a76f475
parent11ba3b1e01b67b7d19f26fba94fabdb60878e809
mountd: regression in crossmounts

commit 8e2fb3fc cause a regression in mount export
that are on different local file system.
Exports like (all on different filesystems)

/home *(rw,fsid=0,crossmnt)
/home/fs1 *(rw,crossmnt)
/home/fs1/fs2/fs3 *(rw,nohide)

and then a mount of the root 'mount /home /mnt'
would end up mounting /home/fs1/fs2/fs3 not /home

Reverting the logic of commit 8e2fb3fc until
a better solution can be found for the original
problem.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/cache.c