]> err.no Git - linux-2.6/blobdiff - include/linux/fsnotify.h
Merge branch 'upstream-fixes' into upstream
[linux-2.6] / include / linux / fsnotify.h
index 94919c376a723ad50804af9a85921b309b5eb171..11438eff4d4455573f76789edfd5ffb0cc646473 100644 (file)
 #include <linux/inotify.h>
 #include <linux/audit.h>
 
+/*
+ * fsnotify_d_instantiate - instantiate a dentry for inode
+ * Called with dcache_lock held.
+ */
+static inline void fsnotify_d_instantiate(struct dentry *entry,
+                                               struct inode *inode)
+{
+       inotify_d_instantiate(entry, inode);
+}
+
+/*
+ * fsnotify_d_move - entry has been moved
+ * Called with dcache_lock and entry->d_lock held.
+ */
+static inline void fsnotify_d_move(struct dentry *entry)
+{
+       inotify_d_move(entry);
+}
+
 /*
  * fsnotify_move - file old_name at old_dir was moved to new_name at new_dir
  */