summaryrefslogtreecommitdiffstats
path: root/support/nfs/xcommon.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-06-27 12:29:51 -0400
committerSteve Dickson <steved@redhat.com>2011-06-27 12:35:21 -0400
commit13a0a61d037f2cc09e7997a96ce5822b9317883b (patch)
tree1edd0765ed8e7efe5953a3772e1acc7c176fabfb /support/nfs/xcommon.c
parentf8d26c1db9a260597828685c7f62e1b29e78285f (diff)
downloadnfs-utils-13a0a61d037f2cc09e7997a96ce5822b9317883b.tar.gz
nfs-utils-13a0a61d037f2cc09e7997a96ce5822b9317883b.tar.xz
nfs-utils-13a0a61d037f2cc09e7997a96ce5822b9317883b.zip
mountd: prefer explicit subexports over crossmnt parents
If a parent is exported with crossmnt, and if a child is also explicitly exported, then both exports could potentially produce matches in this loop; that isn't a bug. Instead of warning and ignoring the second match we find, we should instead prefer whichever export is deeper in the tree, so that children's options can override those of their parents. Reported-by: Olga Kornievskaia <aglo@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xcommon.c')
0 files changed, 0 insertions, 0 deletions