X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosc%2Fosc_page.c;h=06aff96c07a76f8a59d7de0bd024b0cbe5f9a93f;hb=b2274a716087fad24490f56026775886c26f74b8;hp=857545d2d0ce9d5135a65081e3cb64ee0a8004b8;hpb=7e0a2b073701e23f6c941d249e034abe1043ccd6;p=fs%2Flustre-release.git diff --git a/lustre/osc/osc_page.c b/lustre/osc/osc_page.c index 857545d..06aff96 100644 --- a/lustre/osc/osc_page.c +++ b/lustre/osc/osc_page.c @@ -207,12 +207,7 @@ static void osc_page_clip(const struct lu_env *env, opg->ops_from = from; /* argument @to is exclusive, but @ops_to is inclusive */ opg->ops_to = to - 1; - /* This isn't really necessary for transient pages, but we also don't - * call clip on transient pages often, so it's OK. - */ - spin_lock(&oap->oap_lock); oap->oap_async_flags |= ASYNC_COUNT_STABLE; - spin_unlock(&oap->oap_lock); } static int osc_page_flush(const struct lu_env *env,