diff options
author | 2025-03-17 17:40:50 +1030 | |
---|---|---|
committer | 2025-05-15 14:30:42 +0200 | |
commit | c08d45de63f64e7de53b4b64b23b15b4e452f06f (patch) | |
tree | 0276c0488418671a99ce8ba4ada5032a9ae7885c /fs/btrfs | |
parent | btrfs: prepare prepare_one_folio() for large data folios (diff) | |
download | wireguard-linux-c08d45de63f64e7de53b4b64b23b15b4e452f06f.tar.xz wireguard-linux-c08d45de63f64e7de53b4b64b23b15b4e452f06f.zip |
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent_io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 92f4d83594b6..791a9972b2e6 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -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, |