summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-03-01 18:20:27 +0100
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:44 +0200
commitcc5e31a4775d0d6b98139fdee51868a270bda42f (patch)
tree3ac26d8b0b1a020ca417c61c37b910cd7ca39e09 /fs/btrfs/scrub.c
parentbtrfs: use round_up wrapper in num_extent_pages (diff)
downloadlinux-cc5e31a4775d0d6b98139fdee51868a270bda42f.tar.xz
linux-cc5e31a4775d0d6b98139fdee51868a270bda42f.zip
btrfs: switch types to int when counting eb pages
The loops iterating eb pages use unsigned long, that's an overkill as we know that there are at most 16 pages (64k / 4k), and 4 by default (with nodesize 16k). Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions