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 #1210
  • Loading branch information
nedbass authored and behlendorf committed Jan 16, 2013
1 parent 38145d6 commit 94a9bb4
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 94a9bb4

Please sign in to comment.