Whamcloud - gitweb
LU-12542 handle: use hlist for hash lists.
[fs/lustre-release.git] / lustre / mdt / mdt_open.c
index 7b1b1f3..ae3cb8e 100644 (file)
@@ -56,7 +56,7 @@ struct mdt_file_data *mdt_mfd_new(const struct mdt_export_data *med)
        OBD_ALLOC_PTR(mfd);
        if (mfd != NULL) {
                refcount_set(&mfd->mfd_open_handle.h_ref, 1);
-               INIT_LIST_HEAD_RCU(&mfd->mfd_open_handle.h_link);
+               INIT_HLIST_NODE(&mfd->mfd_open_handle.h_link);
                mfd->mfd_owner = med;
                INIT_LIST_HEAD(&mfd->mfd_list);
                class_handle_hash(&mfd->mfd_open_handle, mfd_open_handle_owner);