]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/fsnotify.h
trim fsnotify hooks a bit
[mirror_ubuntu-artful-kernel.git] / include / linux / fsnotify.h
index 0141f257d67b6ae0f17890e11cef31f7ac6056f8..eed9e853a06f13c77506bc451262e83a99f1a332 100644 (file)
@@ -51,18 +51,6 @@ static inline int fsnotify_perm(struct file *file, int mask)
        return fsnotify(inode, fsnotify_mask, path, FSNOTIFY_EVENT_PATH, NULL, 0);
 }
 
-/*
- * 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
  */