-#ifdef S_PDIROPS
-void *lock_dir(struct inode *dir, struct qstr *name);
-void unlock_dir(struct inode *dir, void *lock);
-#endif
-
-/* We need to hold the inode semaphore over the dcache lookup itself, or we run
- * the risk of entering the filesystem lookup path concurrently on SMP systems,
- * and instantiating two inodes for the same entry. We still protect against
- * concurrent addition/removal races with the DLM locking. */
-static inline struct dentry *
-ll_lookup_one_len(const char *name, struct dentry *dparent, int namelen)
+/* We need to hold the inode semaphore over the dcache lookup itself, or we
+ * run the risk of entering the filesystem lookup path concurrently on SMP
+ * systems, and instantiating two inodes for the same entry. We still
+ * protect against concurrent addition/removal races with the DLM locking.
+ */
+static inline struct dentry *ll_lookup_one_len(const char *fid_name,
+ struct dentry *dparent,
+ int fid_namelen)