aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
authorChung-Chiang Cheng <cccheng@synology.com>2022-04-15 16:04:05 +0800
committerDavid Sterba <dsterba@suse.com>2022-04-27 22:15:40 +0200
commite6f9d69648029e48b8f97db09368d419b5e2614a (patch)
treed9acd8cd48909ea821dde74b372d62aeccda8e7a /fs/btrfs/xattr.c
parent5f0addf7b89085f8e0a2593faa419d6111612b9b (diff)
btrfs: export a helper for compression hard check
inode_can_compress will be used outside of inode.c to check the availability of setting compression flag by xattr. This patch moves this function as an internal helper and renames it to btrfs_inode_can_compress. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/xattr.c')
0 files changed, 0 insertions, 0 deletions