commit | 40ffe67d2e89c7a475421d007becc11a2f88ea3d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 14 21:54:32 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 20 21:29:41 2012 -0400 |
tree | 5373e71b18895b9ffd8370a88aec6c54438240a0 | |
parent | 38eff2892628fa5c4fc8962a17b7296f42833ebe [diff] [blame] |
switch unix_sock to struct path Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 293b8c4..8b8f090 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c
@@ -313,12 +313,8 @@ } case AF_UNIX: u = unix_sk(sk); - if (u->dentry) { - struct path path = { - .dentry = u->dentry, - .mnt = u->mnt - }; - audit_log_d_path(ab, " path=", &path); + if (u->path.dentry) { + audit_log_d_path(ab, " path=", &u->path); break; } if (!u->addr)