diff options
author | Ned Bass <[email protected]> | 2013-01-16 12:44:25 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-16 15:30:47 -0800 |
commit | 94a9bb4709111f5fadb434cce1af6ccb6534e241 (patch) | |
tree | 6489dd3a5e5e6d783f5818dc761a16517966660a /module/zfs/zfs_ctldir.c | |
parent | 38145d612963d0a5b80017d5d1d49c1d4f9637c2 (diff) |
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 <[email protected]>
Closes #1210
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
-rw-r--r-- | module/zfs/zfs_ctldir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 " \ " 1>/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) |