hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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);