diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-12-10 04:14:04 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-02-01 00:40:24 +0300 |
commit | 8fb8f70ec71eb5ca51ecbfc2303523ff836648db (patch) | |
tree | 16f7c5fc276f5354328ed5d8bf9d1e74a283a883 /fs/gfs2/trans.h | |
parent | 2d1439557ffeab3b9729f1c64fa86830070f9a04 (diff) | |
download | linux-8fb8f70ec71eb5ca51ecbfc2303523ff836648db.tar.xz |
gfs2: Clean up gfs2_scan_glock_lru
Switch to list_for_each_entry_safe() and eliminate the "skipped" list in
gfs2_scan_glock_lru().
At the same time, scan the requested number of items to scan, not one
more than that number.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.h')
0 files changed, 0 insertions, 0 deletions