diff options
author | NeilBrown <neilb@suse.de> | 2012-05-01 15:24:39 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-05-01 15:29:59 -0400 |
commit | 91bb95f2689e84856ecdf6fac365489d36709cf9 (patch) | |
tree | 455328cfd6d54268fa34d1bfc34c147090544d18 /support/include | |
parent | 12a31b8011ab258fc726300dcfbb7a03af74adb3 (diff) | |
download | nfs-utils-91bb95f2689e84856ecdf6fac365489d36709cf9.tar.gz nfs-utils-91bb95f2689e84856ecdf6fac365489d36709cf9.tar.xz nfs-utils-91bb95f2689e84856ecdf6fac365489d36709cf9.zip |
4set_root: force "fsid=0" for all exports of '/'
When "fsid=0" is not explicitly given in /etc/exports,
v4set_root creates a pseudo (NFSEXP_V4ROOT) export for '/'
with fsid 0 so that an NFSv4 client can find the root.
However if '/' is explicitly exported to the client, then that
explicit export must be used, and it will not have fsid=0.
So we must impose fsid=0 on all exports of '/'.
Without this, if '/' is exported to a client, that client will
not be able to mount '/' with NFSv4.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include')
0 files changed, 0 insertions, 0 deletions