diff options
author | Brian Behlendorf <[email protected]> | 2020-11-11 17:14:24 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-11 17:14:24 -0800 |
commit | c08d442e4545663ff8fc7f0c4dcf5ffb1cd30a24 (patch) | |
tree | c4818da64bb54144a77bd99cecd42747c27d7312 /module/zfs/vdev_queue.c | |
parent | 18ca574f0a52a05806f0d0ea6d70b7ebc35bf0c0 (diff) |
Linux: Fix mount/unmount when dataset name has a space
The custom zpl_show_devname() helper should translate spaces in
to the octal escape sequence \040. The getmntent(2) function
is aware of this convention and properly translates the escape
character back to a space when reading the fsname.
Without this change the `zfs mount` and `zfs unmount` commands
incorrectly detect when a dataset with a name containing spaces
is mounted.
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #11182
Closes #11187
Diffstat (limited to 'module/zfs/vdev_queue.c')
0 files changed, 0 insertions, 0 deletions