Whamcloud - gitweb
LU-8579 osd-ldiskfs: code cleanup for osd_ldiskfs_add_entry
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_internal.h
index 9b9870d..7bf0738 100644 (file)
@@ -178,7 +178,7 @@ struct osd_mdobj {
 struct osd_mdobj_map {
        struct dentry   *omm_remote_parent;
 };
-int osd_ldiskfs_add_entry(struct osd_thread_info *info,
+int osd_ldiskfs_add_entry(struct osd_thread_info *info, struct osd_device *osd,
                          handle_t *handle, struct dentry *child,
                          struct inode *inode, struct htree_lock *hlock);
 
@@ -547,10 +547,6 @@ struct osd_thread_info {
          */
         struct timespec        oti_time;
 
-        /** osd_device reference, initialized in osd_trans_start() and
-            used in osd_trans_stop() */
-        struct osd_device     *oti_dev;
-
         /**
          * following ipd and it structures are used for osd_index_iam_lookup()
          * these are defined separately as we might do index operation