aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2008-10-16 01:02:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:39 -0400
commitc0f54d3e54fd7ac6723b2125d881f1b25d21ed16 (patch)
tree3215eeae82b4c81094227b78ad668943c69b46e5 /fs/autofs4/autofs_i.h
parentbb979d7fc360bc37cbaff43a6fafceb897cb5e47 (diff)
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>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r--fs/autofs4/autofs_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index ea024d8e37ed..fa76d18be082 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -63,6 +63,9 @@ struct autofs_info {
63 unsigned long last_used; 63 unsigned long last_used;
64 atomic_t count; 64 atomic_t count;
65 65
66 uid_t uid;
67 gid_t gid;
68
66 mode_t mode; 69 mode_t mode;
67 size_t size; 70 size_t size;
68 71