X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Fosc_lock.c;h=bc552dea12b97592df988a85821ac587e669349e;hp=b96b9629f5236a2216a2cbd3b97204606860cb10;hb=9f604f5da06a2aa428388905ca9158b128e5016c;hpb=77a5896c94f30149e4c511ec83e9aada90153d38 diff --git a/lustre/osc/osc_lock.c b/lustre/osc/osc_lock.c index b96b962..bc552de 100644 --- a/lustre/osc/osc_lock.c +++ b/lustre/osc/osc_lock.c @@ -1411,7 +1411,8 @@ static int osc_lock_has_pages(struct osc_lock *olck) io->ci_obj = cl_object_top(obj); cl_io_init(env, io, CIT_MISC, io->ci_obj); cl_page_gang_lookup(env, obj, io, - descr->cld_start, descr->cld_end, plist, 0); + descr->cld_start, descr->cld_end, plist, 0, + NULL); cl_lock_page_list_fixup(env, io, lock, plist); if (plist->pl_nr > 0) { CL_LOCK_DEBUG(D_ERROR, env, lock, "still has pages\n");