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 240063c370e6..786901cd8217 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1725,7 +1725,7 @@ static inline void handle_one(const struct inode *inode)
1725 struct audit_tree_refs *p; 1725 struct audit_tree_refs *p;
1726 struct audit_chunk *chunk; 1726 struct audit_chunk *chunk;
1727 int count; 1727 int count;
1728 if (likely(list_empty(&inode->inotify_watches))) 1728 if (likely(hlist_empty(&inode->i_fsnotify_mark_entries)))
1729 return; 1729 return;
1730 context = current->audit_context; 1730 context = current->audit_context;
1731 p = context->trees; 1731 p = context->trees;
@@ -1768,7 +1768,7 @@ retry:
1768 seq = read_seqbegin(&rename_lock); 1768 seq = read_seqbegin(&rename_lock);
1769 for(;;) { 1769 for(;;) {
1770 struct inode *inode = d->d_inode; 1770 struct inode *inode = d->d_inode;
1771 if (inode && unlikely(!list_empty(&inode->inotify_watches))) { 1771 if (inode && unlikely(!hlist_empty(&inode->i_fsnotify_mark_entries))) {
1772 struct audit_chunk *chunk; 1772 struct audit_chunk *chunk;
1773 chunk = audit_tree_lookup(inode); 1773 chunk = audit_tree_lookup(inode);
1774 if (chunk) { 1774 if (chunk) {