summaryrefslogtreecommitdiffstats
path: root/fs/notify/inode_mark.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-12-21 16:28:45 +0100
committerJan Kara <jack@suse.cz>2017-04-10 17:37:36 +0200
commitb1362edfe15b20edd3d116cec521aa420b7afb98 (patch)
treeeccc81939c6f25460e11282a5f7b8d76676be700 /fs/notify/inode_mark.c
parentfsnotify: Remove fsnotify_detach_group_marks() (diff)
downloadlinux-b1362edfe15b20edd3d116cec521aa420b7afb98.tar.xz
linux-b1362edfe15b20edd3d116cec521aa420b7afb98.zip
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>
Diffstat (limited to 'fs/notify/inode_mark.c')
-rw-r--r--fs/notify/inode_mark.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c
index bdc15f736082..5cc317bad082 100644
--- a/fs/notify/inode_mark.c
+++ b/fs/notify/inode_mark.c
@@ -30,16 +30,6 @@
#include "../internal.h"
-/*
- * given a group and inode, find the mark associated with that combination.
- * if found take a reference to that mark and return it, else return NULL
- */
-struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group,
- struct inode *inode)
-{
- return fsnotify_find_mark(&inode->i_fsnotify_marks, group);
-}
-
/**
* fsnotify_unmount_inodes - an sb is unmounting. handle any watched inodes.
* @sb: superblock being unmounted.