hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/nfsd/nfs4layouts.c
....@@ -322,11 +322,11 @@
322322 if (ls->ls_recalled)
323323 goto out_unlock;
324324
325
- ls->ls_recalled = true;
326
- atomic_inc(&ls->ls_stid.sc_file->fi_lo_recalls);
327325 if (list_empty(&ls->ls_layouts))
328326 goto out_unlock;
329327
328
+ ls->ls_recalled = true;
329
+ atomic_inc(&ls->ls_stid.sc_file->fi_lo_recalls);
330330 trace_nfsd_layout_recall(&ls->ls_stid.sc_stateid);
331331
332332 refcount_inc(&ls->ls_stid.sc_count);