diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-10-08 15:26:16 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:54 +0100 |
commit | ce6d3eb6fd5cfede81c7a3d540919f6d92faaac0 (patch) | |
tree | d0aeb26ddb7a86bca574e51b9153530cbdaf1759 /fs/btrfs/compression.h | |
parent | btrfs: opencode extent_buffer_get (diff) | |
download | linux-ce6d3eb6fd5cfede81c7a3d540919f6d92faaac0.tar.xz linux-ce6d3eb6fd5cfede81c7a3d540919f6d92faaac0.zip |
btrfs: User assert to document transaction requirement
Using an ASSERT in btrfs_pin_extent allows to more stringently observe
whether the function is called under a transaction or not.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.h')
0 files changed, 0 insertions, 0 deletions