diff options
author | Wei Yongjun <yjwei@nanjing-fnst.com> | 2007-03-14 15:56:58 +0800 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-16 12:33:14 +1100 |
commit | 0a2950956d05f8069cd698e28479cbf14a3bba86 (patch) | |
tree | df7c98f1f83f3a07ac97f58c9ffbd01561920164 /support/include/exportfs.h | |
parent | 6501bd27df2c723ff0e18ee58e9434287acf3539 (diff) | |
download | nfs-utils-0a2950956d05f8069cd698e28479cbf14a3bba86.tar.gz nfs-utils-0a2950956d05f8069cd698e28479cbf14a3bba86.tar.xz nfs-utils-0a2950956d05f8069cd698e28479cbf14a3bba86.zip |
Use correct UMNT protocol to do umount
This patch do following things:
1. When unmounting, we should try /proc/mounts first. Only then in
/etc/mtab if it wasn't found.
2. Reject name passed to us which is not starts with a '/' or not
contains a ':'
3. Fix the method to get UMNT protocol
Signed-off-by: Wei Yongjun <yjwei@nanjing-fnst.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/include/exportfs.h')
0 files changed, 0 insertions, 0 deletions