Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ian Kent
Date: Friday, February 29, 2008 - 9:24 am

On Wed, 2008-02-27 at 21:17 -0800, Andrew Morton wrote:

It appears I could do this with the generic netlink subsystem.
I'll have a go at it.


And, will still be in the netlink implementation and will still return
an appropriate error.


Agian, will still be in the netlink implementation.
Speak up if it's not right.


OK, I'll do that if someone speaks up.


Also, still in the netlink implementation, with a comment a bit more
informative than the one above.


That's not going to change.
There's nothing new here at all.
This is merely an re-implementation of the existing autofs ioctl
interface with two additional calls, nothing more.


I'll add a document describing this, as previously agreed.

snip ...


I haven't had any problems with this over time.
I've always thought that this was because the flag is only set during an
expire, of which there is only ever one going for a given mount, is
synchronous, and mount requests only read the flag to check status.

But I could be wrong since it may have been OK because the existing
autofs ioctl holds the BKL for its operations.

I'll think about it.

snip ....



--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Pavel Emelyanov, (Thu Feb 28, 12:51 am)
Re: [autofs] [PATCH 3/4] autofs4 - track uid and gid of la ..., Fabio Olive Leite, (Thu Feb 28, 5:31 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Serge E. Hallyn, (Thu Feb 28, 12:51 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Eric W. Biederman, (Thu Feb 28, 1:33 pm)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls, Ian Kent, (Fri Feb 29, 9:24 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Serge E. Hallyn, (Fri Feb 29, 10:42 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Eric W. Biederman, (Sat Mar 1, 5:49 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Eric W. Biederman, (Sat Mar 1, 6:13 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ..., Eric W. Biederman, (Tue Mar 4, 3:16 pm)