From: Ian Kent Date: Sun, 8 Sep 2013 08:47:23 +0000 (+0800) Subject: autofs4 - fix device ioctl mount lookup X-Git-Tag: v3.12-rc1~72^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8387199656b019dcef5e3bbe029c2e9b01a195;p=pandora-kernel.git 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 Cc: Jeff Layton Cc: Al Viro Signed-off-by: Al Viro --- Reading git-diff-tree failed