From 94a9bb4709111f5fadb434cce1af6ccb6534e241 Mon Sep 17 00:00:00 2001 From: Ned Bass Date: Wed, 16 Jan 2013 12:44:25 -0800 Subject: Fix quoting error in unmount command A misplaced single quote caused the umount command to fail with a syntax error when unmounting snapshots under the .zfs/snapshot control directory. Signed-off-by: Brian Behlendorf Closes #1210 --- module/zfs/zfs_ctldir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/zfs_ctldir.c') diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index b5c4510fe..622d865df 100644 --- a/module/zfs/zfs_ctldir.c +++ b/module/zfs/zfs_ctldir.c @@ -685,7 +685,7 @@ zfsctl_snapdir_inactive(struct inode *ip) "exec 0/dev/null " \ " 2>/dev/null; " \ - "umount -t zfs -n '%s%s'" + "umount -t zfs -n %s'%s'" static int __zfsctl_unmount_snapshot(zfs_snapentry_t *sep, int flags) -- cgit v1.2.3