diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-09 13:44:16 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 19:55:55 +0300 |
| commit | 6ee5c986b0ecf3e4be8268e607b62d01676dc115 (patch) | |
| tree | 322237b86a8f63230356871fc7a3becf507ebff3 /scripts | |
| parent | e2a7fd22378f6500bcf979edc71e6837271eacfd (diff) | |
| download | linux-6ee5c986b0ecf3e4be8268e607b62d01676dc115.tar.xz | |
btrfs: use the helper extent_buffer_uptodate() everywhere
Instead of open coding testing the uptodate bit on the extent buffer's
flags, use the existing helper extent_buffer_uptodate() (which is even
shorter to type). Also change the helper's return value from int to bool,
since we always use it in a boolean context.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
