diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:24 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:53 -0400 |
commit | e61ce86737b4d60521e4e71f9892fe4bdcfb688b (patch) | |
tree | a1aba411504ac028d4ead6f28ca05bd024c74142 /kernel/audit_watch.c | |
parent | 72acc854427948efed7a83da27f7dc3239ac9afc (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/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 6304ee5d7642..d8cb55a5c059 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -56,7 +56,7 @@ struct audit_watch { | |||
56 | 56 | ||
57 | struct audit_parent { | 57 | struct audit_parent { |
58 | struct list_head watches; /* anchor for audit_watch->wlist */ | 58 | struct list_head watches; /* anchor for audit_watch->wlist */ |
59 | struct fsnotify_mark_entry mark; /* fsnotify mark on the inode */ | 59 | struct fsnotify_mark mark; /* fsnotify mark on the inode */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | /* fsnotify handle. */ | 62 | /* fsnotify handle. */ |
@@ -72,7 +72,7 @@ static void audit_free_parent(struct audit_parent *parent) | |||
72 | kfree(parent); | 72 | kfree(parent); |
73 | } | 73 | } |
74 | 74 | ||
75 | static void audit_watch_free_mark(struct fsnotify_mark_entry *entry) | 75 | static void audit_watch_free_mark(struct fsnotify_mark *entry) |
76 | { | 76 | { |
77 | struct audit_parent *parent; | 77 | struct audit_parent *parent; |
78 | 78 | ||
@@ -99,7 +99,7 @@ static void audit_put_parent(struct audit_parent *parent) | |||
99 | static inline struct audit_parent *audit_find_parent(struct inode *inode) | 99 | static inline struct audit_parent *audit_find_parent(struct inode *inode) |
100 | { | 100 | { |
101 | struct audit_parent *parent = NULL; | 101 | struct audit_parent *parent = NULL; |
102 | struct fsnotify_mark_entry *entry; | 102 | struct fsnotify_mark *entry; |
103 | 103 | ||
104 | spin_lock(&inode->i_lock); | 104 | spin_lock(&inode->i_lock); |
105 | entry = fsnotify_find_mark_entry(audit_watch_group, inode); | 105 | entry = fsnotify_find_mark_entry(audit_watch_group, inode); |
@@ -517,7 +517,7 @@ static bool audit_watch_should_send_event(struct fsnotify_group *group, struct i | |||
517 | struct vfsmount *mnt, __u32 mask, void *data, | 517 | struct vfsmount *mnt, __u32 mask, void *data, |
518 | int data_type) | 518 | int data_type) |
519 | { | 519 | { |
520 | struct fsnotify_mark_entry *entry; | 520 | struct fsnotify_mark *entry; |
521 | bool send; | 521 | bool send; |
522 | 522 | ||
523 | spin_lock(&inode->i_lock); | 523 | spin_lock(&inode->i_lock); |