kernel/fs/nfsd/nfs4layouts.c
.. .. @@ -322,11 +322,11 @@ 322 322 if (ls->ls_recalled) 323 323 goto out_unlock; 324 324 325 - ls->ls_recalled = true;326 - atomic_inc(&ls->ls_stid.sc_file->fi_lo_recalls);327 325 if (list_empty(&ls->ls_layouts)) 328 326 goto out_unlock; 329 327 328 + ls->ls_recalled = true;329 + atomic_inc(&ls->ls_stid.sc_file->fi_lo_recalls);330 330 trace_nfsd_layout_recall(&ls->ls_stid.sc_stateid); 331 331 332 332 refcount_inc(&ls->ls_stid.sc_count);