summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-04-04 14:45:34 +0800
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:49 +0200
commitddf30cf03fb53b9a0ad0f355a69dbedf416edde9 (patch)
tree400b38707672a3ae58490beb3b677316f16d2cca /fs/btrfs/inode.c
parent8a5040f7d9fddc532bdec698fb0ff0bebe33d4ed (diff)
downloadlwn-ddf30cf03fb53b9a0ad0f355a69dbedf416edde9.tar.gz
lwn-ddf30cf03fb53b9a0ad0f355a69dbedf416edde9.zip
btrfs: extent-tree: Use btrfs_ref to refactor add_pinned_bytes()
Since add_pinned_bytes() only needs to know if the extent is metadata and if it's a chunk tree extent, btrfs_ref is a perfect match for it, as we don't need various owner/level trick to determine extent type. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions