aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/fsnotify.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h
index 9db31d251c20..602c305c8585 100644
--- a/include/linux/fsnotify.h
+++ b/include/linux/fsnotify.h
@@ -44,30 +44,6 @@ static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir,
44} 44}
45 45
46/* 46/*
47 * fsnotify_unlink - file was unlinked
48 */
49static inline void fsnotify_unlink(struct dentry *dentry, struct inode *inode, struct inode *dir)
50{
51 inode_dir_notify(dir, DN_DELETE);
52 inotify_inode_queue_event(dir, IN_DELETE, 0, dentry->d_name.name);
53 inotify_inode_queue_event(inode, IN_DELETE_SELF, 0, NULL);
54
55 inotify_inode_is_dead(inode);
56}
57
58/*
59 * fsnotify_rmdir - directory was removed
60 */
61static inline void fsnotify_rmdir(struct dentry *dentry, struct inode *inode,
62 struct inode *dir)
63{
64 inode_dir_notify(dir, DN_DELETE);
65 inotify_inode_queue_event(dir,IN_DELETE|IN_ISDIR,0,dentry->d_name.name);
66 inotify_inode_queue_event(inode, IN_DELETE_SELF | IN_ISDIR, 0, NULL);
67 inotify_inode_is_dead(inode);
68}
69
70/*
71 * fsnotify_nameremove - a filename was removed from a directory 47 * fsnotify_nameremove - a filename was removed from a directory
72 */ 48 */
73static inline void fsnotify_nameremove(struct dentry *dentry, int isdir) 49static inline void fsnotify_nameremove(struct dentry *dentry, int isdir)