mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02:00
btrfs: prepare end_bbio_data_write() for large data folios
The function is doing an ASSERT() checking the folio order, but all later functions are handling large folios properly, thus we can safely remove that ASSERT(). Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b4e9aaad09
commit
c08d45de63
1 changed files with 0 additions and 3 deletions
|
|
@ -462,9 +462,6 @@ static void end_bbio_data_write(struct btrfs_bio *bbio)
|
|||
u64 start = folio_pos(folio) + fi.offset;
|
||||
u32 len = fi.length;
|
||||
|
||||
/* Only order 0 (single page) folios are allowed for data. */
|
||||
ASSERT(folio_order(folio) == 0);
|
||||
|
||||
/* Our read/write should always be sector aligned. */
|
||||
if (!IS_ALIGNED(fi.offset, sectorsize))
|
||||
btrfs_err(fs_info,
|
||||
|
|
|
|||
Loading…
Reference in a new issue