diff options
author | David Sterba <dsterba@suse.com> | 2018-03-01 18:20:27 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:44 +0200 |
commit | cc5e31a4775d0d6b98139fdee51868a270bda42f (patch) | |
tree | 3ac26d8b0b1a020ca417c61c37b910cd7ca39e09 /fs/btrfs/free-space-cache.c | |
parent | 8791d43207966f40d8ffba18c663514aca5a6f3e (diff) | |
download | talos-op-linux-cc5e31a4775d0d6b98139fdee51868a270bda42f.tar.gz talos-op-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/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions