void-packages/srcpkgs/mkinitcpio-nfs-utils/patches/nfsmount-fix-wrong-umount-path.patch

15 lines
346 B
Diff
Raw Normal View History

2015-06-25 09:31:02 +00:00
--- a/nfsmount/mount.c 2012-11-10 20:16:31.894540497 -0500
+++ b/nfsmount/mount.c 2012-11-10 20:16:39.957369011 -0500
@@ -358,9 +358,9 @@
bail:
if (mounted) {
if (data->flags & NFS_MOUNT_VER3) {
- umount_v3(path, clnt);
+ umount_v3(rem_path, clnt);
} else {
- umount_v2(path, clnt);
+ umount_v2(rem_path, clnt);
}
}