aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsnotify_backend.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-12-21 10:03:59 -0500
committerJan Kara <jack@suse.cz>2017-04-10 11:37:36 -0400
commit66d2b81bcb92c14b22a56a9ff936f2b40accc83c (patch)
tree03632d0a65bc71141a6788381a0eea5eb2f4660d /include/linux/fsnotify_backend.h
parent05f0e38724e8449184acd8fbf0473ee5a07adc6c (diff)
fsnotify: Remove fsnotify_set_mark_{,ignored_}mask_locked()
These helpers are now only a simple assignment and just obfuscate what is going on. Remove them. 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 'include/linux/fsnotify_backend.h')
-rw-r--r--include/linux/fsnotify_backend.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index 744a4b9076f9..63354cd86a7b 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -347,10 +347,6 @@ extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(str
347extern struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, struct inode *inode); 347extern struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, struct inode *inode);
348/* find (and take a reference) to a mark associated with group and vfsmount */ 348/* find (and take a reference) to a mark associated with group and vfsmount */
349extern struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmount *mnt); 349extern struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmount *mnt);
350/* set the ignored_mask of a mark */
351extern void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask);
352/* set the mask of a mark (might pin the object into memory */
353extern void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask);
354/* attach the mark to both the group and the inode */ 350/* attach the mark to both the group and the inode */
355extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, 351extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
356 struct inode *inode, struct vfsmount *mnt, int allow_dups); 352 struct inode *inode, struct vfsmount *mnt, int allow_dups);