Whamcloud - gitweb
Fixes and cleanups in lmv.
[fs/lustre-release.git] / lustre / include / linux / lustre_mds.h
index 9799ca0..2d81605 100644 (file)
@@ -30,6 +30,7 @@
 # include <linux/fs.h>
 # include <linux/dcache.h>
 #endif
+
 #include <linux/lustre_handles.h>
 #include <linux/kp30.h>
 #include <linux/lustre_idl.h>
@@ -165,7 +166,7 @@ int mds_reint_rec(struct mds_update_record *r, int offset,
 #ifdef __KERNEL__
 struct dentry *mds_fid2locked_dentry(struct obd_device *obd, struct ll_fid *fid,
                                      struct vfsmount **mnt, int lock_mode,
-                                     struct lustre_handle *lockh,
+                                     struct lustre_handle *lockh, int *pmode,
                                      char *name, int namelen, __u64 lockpart);
 struct dentry *mds_fid2dentry(struct mds_obd *mds, struct ll_fid *fid,
                               struct vfsmount **mnt);