Files
mirror_zfs/module/os/linux/zfs
Brian Behlendorf c08d442e45 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 <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11182 
Closes #11187
2020-11-11 17:14:24 -08:00
..
2020-08-29 20:57:45 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-10-13 21:25:48 -07:00
2020-11-10 12:42:47 -08:00
2020-10-02 17:44:10 -07:00
2020-04-10 10:33:35 -07:00
2020-11-10 12:42:47 -08:00
2020-06-18 12:20:38 -07:00