]> git.decadent.org.uk Git - nfs-utils.git/commit
Fix nfs4 umount to not used umount procedure
authorWei Yongjun <yjwei@nanjing-fnst.com>
Wed, 14 Mar 2007 08:07:09 +0000 (16:07 +0800)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 01:30:27 +0000 (12:30 +1100)
commit6501bd27df2c723ff0e18ee58e9434287acf3539
tree851132ce12ef7fdbf7dff5e6718528af3decd5fe
parentd4848a7d7d849c0b8d96096707c4df3fc291b4e3
Fix nfs4 umount to not used umount procedure

This fix umount.nfs4's BUG, patch cleanup some useless code.

1. Combine nfs3_umount() and nfs2_umount() to nfs_umount()
2. If it is a nfs4 remote file system or unkown mount version, do not
   probe remote mount port and not send UMNT request wich is not necessary

Signed-off-by: Wei Yongjun <yjwei@nanjing-fnst.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/nfsumount.c