aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornordaux <[email protected]>2012-02-13 05:44:20 +0200
committerBrian Behlendorf <[email protected]>2012-11-15 14:28:52 -0800
commit33364b15d302abfb2945129994b9cf42e61dc302 (patch)
tree7be015e83f34df3172b473400606a688848d466c /include
parent54602c37718eca0dbeb668321edf5dfc41dcbe93 (diff)
mount.zfs: canonicalize mount point for mtab
Canonicalize the mount point passed to the mount.zfs helper. This way a clean path is always added to mtab which ensures the umount can properly locate and remove the entry. Test case: $ mkdir /mnt/foo $ mount -t zfs zpool/foo /mnt/../mnt/foo//// $ umount /mnt/foo $ cat /etc/mtab | grep zpool/foo zpool/foo /mnt/../mnt/foo//// zfs rw 0 0 Signed-off-by: Brian Behlendorf <[email protected]> Closes #573
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions