Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next
[deliverable/linux.git] / include / linux / fsnotify_backend.h
index 533c4408529a19819570c5dc40d917aa10ac2d26..1259e53d9296edea1a152e9caf9b4810471235e6 100644 (file)
@@ -290,14 +290,9 @@ static inline void __fsnotify_update_dcache_flags(struct dentry *dentry)
 /*
  * fsnotify_d_instantiate - instantiate a dentry for inode
  */
-static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode)
+static inline void __fsnotify_d_instantiate(struct dentry *dentry)
 {
-       if (!inode)
-               return;
-
-       spin_lock(&dentry->d_lock);
        __fsnotify_update_dcache_flags(dentry);
-       spin_unlock(&dentry->d_lock);
 }
 
 /* called from fsnotify listeners, such as fanotify or dnotify */
@@ -396,7 +391,7 @@ static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt)
 static inline void __fsnotify_update_dcache_flags(struct dentry *dentry)
 {}
 
-static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode)
+static inline void __fsnotify_d_instantiate(struct dentry *dentry)
 {}
 
 static inline u32 fsnotify_get_cookie(void)
This page took 0.025862 seconds and 5 git commands to generate.