diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-26 14:11:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-28 20:33:43 -0400 |
commit | 795d673af1afae8146ac3070a2d77cfae5287c43 (patch) | |
tree | 1c0f3284601cfd891044ecc3c605584f91f155c3 /kernel/audit_fsnotify.c | |
parent | 6921d4ebe418e7cce9f65c1f38c93ea82a1f546c (diff) | |
download | linux-795d673af1afae8146ac3070a2d77cfae5287c43.tar.gz linux-795d673af1afae8146ac3070a2d77cfae5287c43.tar.bz2 linux-795d673af1afae8146ac3070a2d77cfae5287c43.zip |
audit_compare_dname_path(): switch to const struct qstr *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_fsnotify.c')
-rw-r--r-- | kernel/audit_fsnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit_fsnotify.c b/kernel/audit_fsnotify.c index fb241805569c..b5737b826951 100644 --- a/kernel/audit_fsnotify.c +++ b/kernel/audit_fsnotify.c @@ -188,7 +188,7 @@ static int audit_mark_handle_event(struct fsnotify_group *group, } if (mask & (FS_CREATE|FS_MOVED_TO|FS_DELETE|FS_MOVED_FROM)) { - if (audit_compare_dname_path(dname->name, audit_mark->path, AUDIT_NAME_FULL)) + if (audit_compare_dname_path(dname, audit_mark->path, AUDIT_NAME_FULL)) return 0; audit_update_mark(audit_mark, inode); } else if (mask & (FS_DELETE_SELF|FS_UNMOUNT|FS_MOVE_SELF)) |