aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2008-02-14 22:34:38 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-15 00:13:33 -0500
commit6ac08c39a16f72c2d3e845cb6849a1392fa03e80 (patch)
treed7603571e9ab3ea4b57b7901211320e48d0c5ed8 /kernel/auditsc.c
parent5dd784d04924be5d8bc066aded0ec3274b20e612 (diff)
Use struct path in fs_struct
* Use struct path in fs_struct. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Jan Blunck <jblunck@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 1c06ecf38d7b..741291a1de0d 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1697,8 +1697,8 @@ void __audit_getname(const char *name)
1697 ++context->name_count; 1697 ++context->name_count;
1698 if (!context->pwd) { 1698 if (!context->pwd) {
1699 read_lock(&current->fs->lock); 1699 read_lock(&current->fs->lock);
1700 context->pwd = dget(current->fs->pwd); 1700 context->pwd = dget(current->fs->pwd.dentry);
1701 context->pwdmnt = mntget(current->fs->pwdmnt); 1701 context->pwdmnt = mntget(current->fs->pwd.mnt);
1702 read_unlock(&current->fs->lock); 1702 read_unlock(&current->fs->lock);
1703 } 1703 }
1704 1704