summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_ail.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2013-09-08 10:47:23 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-09 04:07:47 +0200
commitac8387199656b019dcef5e3bbe029c2e9b01a195 (patch)
tree0527b48b9293e395fda4048bedcd410cc802eda8 /fs/xfs/xfs_trans_ail.c
parentintroduce kern_path_mountpoint() (diff)
downloadlinux-ac8387199656b019dcef5e3bbe029c2e9b01a195.tar.xz
linux-ac8387199656b019dcef5e3bbe029c2e9b01a195.zip
autofs4 - fix device ioctl mount lookup
When reconnecting to automounts at startup an autofs ioctl is used to find the device and inode of existing mounts so they can be used to open a file descriptor of possibly covered mounts. At this time the the caller might not yet "own" the mount so it can trigger calling ->d_automount(). This causes automount to hang when trying to reconnect to direct or offset mount types. Consequently kern_path() can't be used but kern_path_mountpoint() can be. Signed-off-by: Ian Kent <raven@themaw.net> Cc: Jeff Layton <jlayton@redhat.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
0 files changed, 0 insertions, 0 deletions