Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-137 obdclass: add dt_object_put() and use it
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_trans.c
diff --git
a/lustre/osp/osp_trans.c
b/lustre/osp/osp_trans.c
index
ebecd8a
..
674078d
100644
(file)
--- a/
lustre/osp/osp_trans.c
+++ b/
lustre/osp/osp_trans.c
@@
-240,7
+240,7
@@
void osp_update_request_destroy(const struct lu_env *env,
list_del_init(&obj->opo_invalidate_cb_list);
spin_unlock(&obj->opo_lock);
list_del_init(&obj->opo_invalidate_cb_list);
spin_unlock(&obj->opo_lock);
-
lu_object_put(env, &obj->opo_obj.do_lu
);
+
dt_object_put(env, &obj->opo_obj
);
}
if (env == &lenv)
}
if (env == &lenv)
@@
-527,7
+527,7
@@
static void osp_thandle_invalidate_object(const struct lu_env *env,
list_del_init(&obj->opo_invalidate_cb_list);
spin_unlock(&obj->opo_lock);
list_del_init(&obj->opo_invalidate_cb_list);
spin_unlock(&obj->opo_lock);
-
lu_object_put(env, &obj->opo_obj.do_lu
);
+
dt_object_put(env, &obj->opo_obj
);
}
}
}
}