aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 21:24:24 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:53 -0400
commite61ce86737b4d60521e4e71f9892fe4bdcfb688b (patch)
treea1aba411504ac028d4ead6f28ca05bd024c74142 /kernel/auditsc.c
parent72acc854427948efed7a83da27f7dc3239ac9afc (diff)
fsnotify: rename fsnotify_mark_entry to just fsnotify_mark
The name is long and it serves no real purpose. So rename fsnotify_mark_entry to just fsnotify_mark. Signed-off-by: Eric Paris <eparis@redhat.com>
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 853185f7ba7e..b87a63beb66c 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1724,7 +1724,7 @@ static inline void handle_one(const struct inode *inode)
1724 struct audit_tree_refs *p; 1724 struct audit_tree_refs *p;
1725 struct audit_chunk *chunk; 1725 struct audit_chunk *chunk;
1726 int count; 1726 int count;
1727 if (likely(hlist_empty(&inode->i_fsnotify_mark_entries))) 1727 if (likely(hlist_empty(&inode->i_fsnotify_marks)))
1728 return; 1728 return;
1729 context = current->audit_context; 1729 context = current->audit_context;
1730 p = context->trees; 1730 p = context->trees;
@@ -1767,7 +1767,7 @@ retry:
1767 seq = read_seqbegin(&rename_lock); 1767 seq = read_seqbegin(&rename_lock);
1768 for(;;) { 1768 for(;;) {
1769 struct inode *inode = d->d_inode; 1769 struct inode *inode = d->d_inode;
1770 if (inode && unlikely(!hlist_empty(&inode->i_fsnotify_mark_entries))) { 1770 if (inode && unlikely(!hlist_empty(&inode->i_fsnotify_marks))) {
1771 struct audit_chunk *chunk; 1771 struct audit_chunk *chunk;
1772 chunk = audit_tree_lookup(inode); 1772 chunk = audit_tree_lookup(inode);
1773 if (chunk) { 1773 if (chunk) {