diff options
author | Tomohiro Kusumi <kusumi.tomohiro@gmail.com> | 2019-07-03 00:25:23 +0900 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2019-07-02 08:25:23 -0700 |
commit | df358db7c3a39f8a13f16fd99d87c08ca2f2e2a5 (patch) | |
tree | 4ff09f2cafe4a0ac54d2098d112be79e71ae8546 /module/zfs/vdev_queue.c | |
parent | ac6d54160ad016a199101a074db50345daea4c59 (diff) |
Don't use d_path() for automount mount point for chroot'd process
Chroot'd process fails to automount snapshots due to realpath(3)
failure in mount.zfs(8).
Construct a mount point path from sb of the ctldir inode and dirent
name, instead of from d_path(), so that chroot'd process doesn't get
affected by its view of fs.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8903
Closes #8966
Diffstat (limited to 'module/zfs/vdev_queue.c')
0 files changed, 0 insertions, 0 deletions