Whamcloud - gitweb
- the same fix as in b_fid about lmv_intent_lookup()
[fs/lustre-release.git] / lustre / lmv / lmv_internal.h
index 377fb43..ccceb95 100644 (file)
@@ -23,6 +23,7 @@ struct lmv_obj {
         atomic_t           count;          /* ref counter. */
         struct ll_fid      fid;            /* master fid of dir */
         void               *update;        /* bitmap of status (uptodate) */
+       __u32              hashtype;
         int                objcount;       /* number of slaves */
         struct lmv_inode   *objs;          /* array of dirobjs */
         struct obd_device  *obd;           /* pointer to LMV itself */
@@ -71,22 +72,22 @@ struct lmv_obj *lmv_create_obj(struct obd_export *exp,
 
 int lmv_delete_obj(struct obd_export *exp, struct ll_fid *fid);
 
-int lmv_intent_lock(struct obd_export *, struct ll_uctxt *,
+int lmv_intent_lock(struct obd_export *,
                     struct ll_fid *, const char *, int, void *, int,
                    struct ll_fid *, struct lookup_intent *, int,
                    struct ptlrpc_request **, ldlm_blocking_callback);
 
-int lmv_intent_lookup(struct obd_export *, struct ll_uctxt *,
+int lmv_intent_lookup(struct obd_export *,
                       struct ll_fid *, const char *, int, void *, int,
                      struct ll_fid *, struct lookup_intent *, int,
                      struct ptlrpc_request **, ldlm_blocking_callback);
 
-int lmv_intent_getattr(struct obd_export *, struct ll_uctxt *,
+int lmv_intent_getattr(struct obd_export *,
                        struct ll_fid *, const char *, int, void *, int,
                       struct ll_fid *, struct lookup_intent *, int,
                       struct ptlrpc_request **, ldlm_blocking_callback);
 
-int lmv_intent_open(struct obd_export *, struct ll_uctxt *,
+int lmv_intent_open(struct obd_export *,
                     struct ll_fid *, const char *, int, void *, int,
                    struct ll_fid *, struct lookup_intent *, int,
                    struct ptlrpc_request **, ldlm_blocking_callback);
@@ -134,5 +135,8 @@ fid_equal(struct ll_fid *fid1, struct ll_fid *fid2)
         return 1;
 }
 
+/* lproc_lmv.c */
+extern struct file_operations lmv_proc_target_fops;
+
 #endif