diff options
author | Gu Jinxiang <gujx@cn.fujitsu.com> | 2018-01-26 15:26:02 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-02-02 16:01:57 +0100 |
commit | c9581107856ac932817c4bb832042c968af45394 (patch) | |
tree | f733bc34c719da20c9f1bbdaf6994a70b579d75f /dir-item.c | |
parent | 3809b36d855fd13aad31c3a426a4d7434180003a (diff) |
btrfs-progs: Sync code with kernel for BTRFS_MAX_INLINE_DATA_SIZE
Do a cleanup. Also make it consistent with kernel. Use fs_info instead
of root for BTRFS_MAX_INLINE_DATA_SIZE, since maybe in some situation we
do not know root, but just know fs_info.
Change macro to inline function to be consistent with kernel. And
change the function body to match kernel.
Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'dir-item.c')
0 files changed, 0 insertions, 0 deletions