aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
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