diff options
author | Qu Wenruo <wqu@suse.com> | 2020-03-26 13:35:55 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-16 22:13:50 -0400 |
commit | a62db245265bd898feaab3f035c5b5f99bf4ea6c (patch) | |
tree | f5128276a54ae84fbdf8294d0be01776c1c7f8cf /tools/kermit | |
parent | 25babb7c1b52bbe62ff9433c07f9e491b9d1b6af (diff) | |
download | u-boot-a62db245265bd898feaab3f035c5b5f99bf4ea6c.tar.gz u-boot-a62db245265bd898feaab3f035c5b5f99bf4ea6c.tar.bz2 u-boot-a62db245265bd898feaab3f035c5b5f99bf4ea6c.zip |
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>
Diffstat (limited to 'tools/kermit')
0 files changed, 0 insertions, 0 deletions