fsnotify: Remove fsnotify_find_{inode|vfsmount}_mark()
These are very thin wrappers, just remove them. Drop fs/notify/vfsmount_mark.c as it is empty now. Reviewed-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
@@ -391,7 +391,8 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)
|
||||
struct node *p;
|
||||
int n;
|
||||
|
||||
old_entry = fsnotify_find_inode_mark(audit_tree_group, inode);
|
||||
old_entry = fsnotify_find_mark(&inode->i_fsnotify_marks,
|
||||
audit_tree_group);
|
||||
if (!old_entry)
|
||||
return create_chunk(inode, tree);
|
||||
|
||||
|
@@ -102,7 +102,7 @@ static inline struct audit_parent *audit_find_parent(struct inode *inode)
|
||||
struct audit_parent *parent = NULL;
|
||||
struct fsnotify_mark *entry;
|
||||
|
||||
entry = fsnotify_find_inode_mark(audit_watch_group, inode);
|
||||
entry = fsnotify_find_mark(&inode->i_fsnotify_marks, audit_watch_group);
|
||||
if (entry)
|
||||
parent = container_of(entry, struct audit_parent, mark);
|
||||
|
||||
|
Reference in New Issue
Block a user