mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 <behlendorf1@llnl.gov> Closes #1210
This commit is contained in:
parent
38145d6129
commit
94a9bb4709
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user