summaryrefslogtreecommitdiffstats
path: root/support/nfs/svc_socket.c
diff options
context:
space:
mode:
authorIan Kent <ikent@redhat.com>2011-08-29 12:29:36 -0400
committerSteve Dickson <steved@redhat.com>2011-08-29 12:29:36 -0400
commit3564ebbf04b70188cda3fe679294ca7ad5f2a927 (patch)
tree083ca6da78de9548ea2658e5948b74be8c1972bb /support/nfs/svc_socket.c
parent708f2d63ee2641f72d3a87ce65f12e83e5ad60be (diff)
downloadnfs-utils-3564ebbf04b70188cda3fe679294ca7ad5f2a927.tar.gz
nfs-utils-3564ebbf04b70188cda3fe679294ca7ad5f2a927.tar.xz
nfs-utils-3564ebbf04b70188cda3fe679294ca7ad5f2a927.zip
umount.nfs: fix nfs4 check
From: Ian Kent <ikent@redhat.com> nfs_umount_is_vers4() doesn't take acount of the escaping of characters seen in /proc/mounts and /etc/mtab as the functions in fstab.c do. This leads to an inability to umount a mount containing any of these escaped characters (like spaces). This patch changes nfs_umount_is_vers4() to use functions in fstab.c and adds a function to fstab.c to read /proc/mounts specifically, as it was used for the check in nfs_umount_is_vers4() previously. Signed-off-by: Ian Kent <ikent@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/svc_socket.c')
0 files changed, 0 insertions, 0 deletions