diff options
author | Neil Brown <neilb@suse.de> | 2007-10-12 09:03:06 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-10-12 09:03:06 +1000 |
commit | ea4a03e77794eb2d46756c2d44f334f6ca4d13d7 (patch) | |
tree | 977f8574fe1d9974ee789cba7416d2a23184b04e /support/nfs/xlog.c | |
parent | df0a06a985a15f088d0a7fb39c61a98e6aac9830 (diff) | |
download | nfs-utils-ea4a03e77794eb2d46756c2d44f334f6ca4d13d7.tar.gz nfs-utils-ea4a03e77794eb2d46756c2d44f334f6ca4d13d7.tar.xz nfs-utils-ea4a03e77794eb2d46756c2d44f334f6ca4d13d7.zip |
Fix version fallback for unmount.
Previously, if the mtab record didn't mention a version, unmount
would assume a v3 umount and send an UNMOUNT request accordingly.
This is wrong.
So remove the 'v3' assumption, and allow probe_port to continue when
it gets a version number mis-match.
Also there was some overloading of the meaning of pm_vers==0 relating
to v4 mounts. As do_nfs_umount is never called for v4, rename it to
do_nfs_umount23, and remove v4 handling from there and from
nfs_call_umount.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions