X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fllog_ioctl.c;h=3db9ef5f9fdd8a1523df385b6e61daa87f158792;hp=1ee49add6a5695b5cb07fc110f03f3e61d8961e8;hb=d6bd5e9cc49b3bb9901ada503107e8b0eca44f7e;hpb=7c99f67d9d39e8a037e830cf08a9df305e6d8da2 diff --git a/lustre/obdclass/llog_ioctl.c b/lustre/obdclass/llog_ioctl.c index 1ee49ad..3db9ef5 100644 --- a/lustre/obdclass/llog_ioctl.c +++ b/lustre/obdclass/llog_ioctl.c @@ -167,7 +167,7 @@ static int llog_check_cb(const struct lu_env *env, struct llog_handle *handle, RETURN(rc); } rc = llog_process(env, loghandle, llog_check_cb, NULL, NULL); - llog_handle_put(loghandle); + llog_handle_put(env, loghandle); } else { bool ok; @@ -292,7 +292,7 @@ static int llog_remove_log(const struct lu_env *env, struct llog_handle *cat, } llog_cat_cleanup(env, cat, log, log->u.phd.phd_cookie.lgc_index); out: - llog_handle_put(log); + llog_handle_put(env, log); RETURN(rc); }