提交 d4722fcc 编写于 作者: O Oleg Drokin 提交者: Greg Kroah-Hartman

staging/lustre/osc: Remove ops_temp from osc_page

It's no longer used and never set anywhere.
Signed-off-by: NOleg Drokin <green@linuxhacker.ru>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 966c4a8f
......@@ -355,11 +355,6 @@ struct osc_page {
* Boolean, true iff page is under transfer. Used for sanity checking.
*/
unsigned ops_transfer_pinned:1,
/**
* True for a `temporary page' created by read-ahead code, probably
* outside of any DLM lock.
*/
ops_temp:1,
/**
* in LRU?
*/
......
......@@ -214,7 +214,7 @@ static void osc_page_delete(const struct lu_env *env,
struct osc_object *obj = cl2osc(opg->ops_cl.cpl_obj);
int rc;
LINVRNT(opg->ops_temp || osc_page_protected(env, opg, CLM_READ, 1));
LINVRNT(osc_page_protected(env, opg, CLM_READ, 1));
CDEBUG(D_TRACE, "%p\n", opg);
osc_page_transfer_put(env, opg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册