btrfs-progs/mkfs
Gu Jinxiang c958110785 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>
2018-02-02 16:01:57 +01:00
..
common.c btrfs-progs: treewide: Replace strerror(errno) with %m. 2018-01-31 15:14:03 +01:00
common.h
main.c btrfs-progs: Remove unnecessary parameter for btrfs_add_block_group 2018-01-31 15:14:03 +01:00
rootdir.c btrfs-progs: Sync code with kernel for BTRFS_MAX_INLINE_DATA_SIZE 2018-02-02 16:01:57 +01:00
rootdir.h btrfs-progs: mkfs: Separate shrink from rootdir 2018-01-08 18:15:15 +01:00