u-boot/fs/btrfs
Qu Wenruo a62db24526 fs: btrfs: Reject fs with sector size other than PAGE_SIZE
Although in theory u-boot fs driver could easily support more sector
sizes, current code base doesn't have good enough way to grab sector
size yet.

This would cause problem for later LZO fixes which rely on sector size.

And considering that most u-boot boards are using 4K page size, which is
also the most common sector size for btrfs, rejecting fs with
non-page-sized sector size shouldn't cause much problem.

This should only be a quick fix before we implement better sector size
support.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Cc: Marek Behun <marek.behun@nic.cz>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
2020-04-16 22:13:50 -04:00
..
btrfs.c fs: btrfs: fix btrfs methods return values on failure 2019-05-03 07:30:31 -04:00
btrfs.h fs: btrfs: Do not fail when all root_backups are empty 2018-06-18 14:43:12 -04:00
btrfs_tree.h fs: btrfs: add zstd decompression support 2019-05-05 08:48:50 -04:00
chunk-map.c fs: btrfs: Fix wrong comparison in logical to physical mapping 2018-07-20 15:37:44 -04:00
compression.c fs: btrfs: Use LZO_LEN to replace immediate number 2020-04-16 22:13:50 -04:00
conv-funcs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ctree.c fs: btrfs: fix btrfs_search_tree invalid results 2019-04-26 17:53:16 -04:00
ctree.h Revert "fs: btrfs: fix false negatives in ROOT_ITEM search" 2019-04-27 11:35:44 -04:00
dev.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dir-item.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
extent-io.c fs: btrfs: Fix cache alignment bugs 2018-09-30 13:00:37 -04:00
hash.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
inode.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig fs: btrfs: add zstd decompression support 2019-05-05 08:48:50 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
root.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
subvolume.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
super.c fs: btrfs: Reject fs with sector size other than PAGE_SIZE 2020-04-16 22:13:50 -04:00