autofs4: track uid and gid of last mount requester

Track the uid and gid of the last process to request a mount for on an
autofs dentry.

[akpm@linux-foundation.org: fix tpyo in comment]
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Ian Kent
2008-10-15 22:02:52 -07:00
committed by Linus Torvalds
parent bb979d7fc3
commit c0f54d3e54
3 changed files with 39 additions and 0 deletions

View File

@ -63,6 +63,9 @@ struct autofs_info {
unsigned long last_used;
atomic_t count;
uid_t uid;
gid_t gid;
mode_t mode;
size_t size;