X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fdt_object.c;h=9cacbe8c3b0480eb4d3a44664ee9c08907dc40a5;hp=faff31f8459b5fe00c8d0dcfe0b3833bda47989b;hb=e763467ebe00913e8d03f855dc4b918b95099931;hpb=9dbbc720bd0bedb119c516a69323008df9cc3695 diff --git a/lustre/obdclass/dt_object.c b/lustre/obdclass/dt_object.c index faff31f..9cacbe8 100644 --- a/lustre/obdclass/dt_object.c +++ b/lustre/obdclass/dt_object.c @@ -141,26 +141,6 @@ int dt_txn_hook_stop(const struct lu_env *env, struct thandle *th) } EXPORT_SYMBOL(dt_txn_hook_stop); -void dt_txn_hook_commit(struct thandle *th) -{ - struct dt_txn_callback *cb; - - if (th->th_local) - return; - - list_for_each_entry(cb, &th->th_dev->dd_txn_callbacks, - dtc_linkage) { - /* - * Right now, the bottom device (OSD) will use this hook - * commit to notify OSP, so we do not check and replace - * the thandle to top thandle now - */ - if (cb->dtc_txn_commit) - cb->dtc_txn_commit(th, cb->dtc_cookie); - } -} -EXPORT_SYMBOL(dt_txn_hook_commit); - int dt_device_init(struct dt_device *dev, struct lu_device_type *t) { INIT_LIST_HEAD(&dev->dd_txn_callbacks);