Re: [PATCH 2/2] autofs4 - fix device ioctl mount lookup

2013-09-09 Thread Ian Kent
On Mon, 2013-09-09 at 06:45 -0400, Jeff Layton wrote: > On Mon, 09 Sep 2013 15:18:00 +0800 > Ian Kent wrote: > > > On Sun, 2013-09-08 at 07:33 -0400, Jeff Layton wrote: > > > On Sun, 08 Sep 2013 16:47:23 +0800 > > > Ian Kent wrote: > > > > > > > When reconnecting to automounts at startup an aut

Re: [PATCH 2/2] autofs4 - fix device ioctl mount lookup

2013-09-09 Thread Jeff Layton
On Mon, 09 Sep 2013 15:18:00 +0800 Ian Kent wrote: > On Sun, 2013-09-08 at 07:33 -0400, Jeff Layton wrote: > > On Sun, 08 Sep 2013 16:47:23 +0800 > > Ian Kent wrote: > > > > > When reconnecting to automounts at startup an autofs ioctl is used > > > to find the device and inode of existing mount

Re: [PATCH 2/2] autofs4 - fix device ioctl mount lookup

2013-09-09 Thread Ian Kent
On Sun, 2013-09-08 at 07:33 -0400, Jeff Layton wrote: > On Sun, 08 Sep 2013 16:47:23 +0800 > Ian Kent wrote: > > > 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 c

Re: [PATCH 2/2] autofs4 - fix device ioctl mount lookup

2013-09-08 Thread Jeff Layton
On Sun, 08 Sep 2013 16:47:23 +0800 Ian Kent wrote: > 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

[PATCH 2/2] autofs4 - fix device ioctl mount lookup

2013-09-08 Thread Ian Kent
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 cau