Searched hist:"36 c783092d49ae71fa87963de9bb5bd9daf4d8c2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/gfs2/ |
H A D | log.c | diff 36c783092d49ae71fa87963de9bb5bd9daf4d8c2 Tue Aug 18 08:05:14 CDT 2020 Bob Peterson <rpeterso@redhat.com> 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>
|