Skip to content

Commit

Permalink
Fix quoting error in unmount command
Browse files Browse the repository at this point in the history
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 <behlendorf1@llnl.gov>
Closes openzfs#1210
  • Loading branch information
nedbass authored and unya committed Dec 13, 2013
1 parent 0c30bb6 commit 1ef239c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/zfs_ctldir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ef239c

Please sign in to comment.