projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Linux 6.9-rc1
[linux-2.6-microblaze.git]
/
kernel
/
audit_fsnotify.c
diff --git
a/kernel/audit_fsnotify.c
b/kernel/audit_fsnotify.c
index
6432a37
..
c565fbf
100644
(file)
--- a/
kernel/audit_fsnotify.c
+++ b/
kernel/audit_fsnotify.c
@@
-102,6
+102,7
@@
struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pa
ret = fsnotify_add_inode_mark(&audit_mark->mark, inode, 0);
if (ret < 0) {
+ audit_mark->path = NULL;
fsnotify_put_mark(&audit_mark->mark);
audit_mark = ERR_PTR(ret);
}