diff options
| author | Qu Wenruo <wqu@suse.com> | 2025-01-28 15:54:40 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:41 +0100 |
| commit | 57a3212674f40c6700f3a50d16432239a7c8e617 (patch) | |
| tree | 36e120b63e7371051d438dcaa3b86598684b2b9e /rust/helpers/task.c | |
| parent | f64e81815377c943c2869415c48d4378f8dea58f (diff) | |
btrfs: make subpage attach and detach handle metadata properly
Currently subpage attach/detach is not doing proper dummy extent buffer
subpage check, as btrfs_is_subpage() is not reliable for dummy extent
buffer folios.
Since we have a metadata specific check now, use that for
btrfs_attach_subpage() first.
Then enhance btrfs_detach_subpage() to accept a type parameter, so that
we can do extra checks for dummy extent buffers properly.
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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
