Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-09-24 19:44:24 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 14:46:49 +0300
commit31f6e769ce4145fdfaba44ad7c5b30ad21f58c11 (patch)
tree5f59266da8e344c79f08937bb47cbefc9b3d79dd /fs/btrfs/ctree.h
parentd6156218bec93965b6a43ba2686ad962ce77c854 (diff)
btrfs: make btrfs_assert_tree_locked static inline
The function btrfs_assert_tree_locked is used outside of the locking code so it is exported, however we can make it static inine as it's fairly trivial. This is the only locking assertion used in release builds, inlining improves the text size by 174 bytes and reduces stack consumption in the callers. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions