summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-03-11 14:31:12 +0000
committerDavid Sterba <dsterba@suse.com>2021-04-19 17:25:17 +0200
commit4bae788075107efcad1d95aeca9084e40477c6b0 (patch)
tree4f4cc4ea19dbbf02ce6d87be03849eac1cd3bc9b /lib/dynamic_debug.c
parentffe1d039d7ad4ffe53b110065c1c67dca0b9bfb6 (diff)
btrfs: add and use helper to get lowest sequence number for the tree mod log
There are two places outside the tree mod log module that extract the lowest sequence number of the tree mod log. These places end up duplicating code and open coding the logic and internal implementation details of the tree mod log. So add a helper to the tree mod log module and header that returns the lowest sequence number or 0 if there aren't any tree mod log users at the moment. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions