summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-08-18 15:05:14 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2020-10-15 14:29:03 +0200
commit36c783092d49ae71fa87963de9bb5bd9daf4d8c2 (patch)
treeffcdb2c19ef0e236eb58672f830fa56bb3bcbb9c /fs/ceph
parentgfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipe (diff)
downloadlinux-36c783092d49ae71fa87963de9bb5bd9daf4d8c2.tar.xz
linux-36c783092d49ae71fa87963de9bb5bd9daf4d8c2.zip
gfs2: make gfs2_ail1_empty_one return the count of active items
This patch is one baby step toward simplifying the journal management. It simply changes function gfs2_ail1_empty_one from a void to an int and makes it return a count of active items. This allows the caller to check the return code rather than list_empty on the tr_ail1_list. This way we can, in a later patch, combine transaction ail1 and ail2 lists. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions