aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-01-04 11:09:51 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:51 +0100
commit823bb20ab47071dc8a98acf272a470ccdcfcf6d1 (patch)
treeba1864d6c1472b33acbe0d6d991cb91cf4d69f74 /include/trace
parentbtrfs: remove unused logic of limiting async delalloc pages (diff)
downloadlinux-dev-823bb20ab47071dc8a98acf272a470ccdcfcf6d1.tar.xz
linux-dev-823bb20ab47071dc8a98acf272a470ccdcfcf6d1.zip
btrfs: add wrapper for counting BTRFS_MAX_EXTENT_SIZE
The expression is open-coded in several places, this asks for a wrapper. As we know the MAX_EXTENT fits to u32, we can use the appropirate division helper. This cascades to the result type updates. Compiler is clever enough to use shift instead of integer division, so there's no change in the generated assembly. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions