staging/lustre/osc: Remove ops_temp from osc_page

It's no longer used and never set anywhere.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oleg Drokin
2016-06-05 23:28:52 -04:00
committed by Greg Kroah-Hartman
parent 966c4a8f80
commit d4722fccbe
2 changed files with 1 additions and 6 deletions

View File

@@ -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?
*/

View File

@@ -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);