diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-30 01:35:12 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-30 01:35:12 +0300 |
commit | affda48410a5bbfd516def60bbc97f2683cd9f7b (patch) | |
tree | f54b2612ec4b6d8cf5bfbd4f5dbb300b2de7da75 /include/linux/fsnotify.h | |
parent | 77d5a6b7d9924e2ebb96c6e80bb9fc78615e41b5 (diff) | |
download | linux-affda48410a5bbfd516def60bbc97f2683cd9f7b.tar.xz |
trim fsnotify hooks a bit
fsnotify_d_move()/__fsnotify_d_instantiate()/__fsnotify_update_dcache_flags()
are identical to each other, regardless of the config.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fsnotify.h')
-rw-r--r-- | include/linux/fsnotify.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index 0141f257d67b..eed9e853a06f 100644 --- a/include/linux/fsnotify.h +++ b/include/linux/fsnotify.h @@ -52,18 +52,6 @@ static inline int fsnotify_perm(struct file *file, int mask) } /* - * fsnotify_d_move - dentry has been moved - */ -static inline void fsnotify_d_move(struct dentry *dentry) -{ - /* - * On move we need to update dentry->d_flags to indicate if the new parent - * cares about events from this dentry. - */ - __fsnotify_update_dcache_flags(dentry); -} - -/* * fsnotify_link_count - inode's link count changed */ static inline void fsnotify_link_count(struct inode *inode) |