aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-06-07 18:00:31 +1000
committerBrian Behlendorf <[email protected]>2024-08-21 13:36:24 -0700
commitb3f4e4e1ec930be85ebdf3c7d23f0be23800491c (patch)
tree3fda984f133844808d4d16b482d3b9081de775ce /module/os/linux/zfs
parentbbe8512a93b0078c43fb5aa6f265059376647bc7 (diff)
abd: remove ABD_FLAG_ZEROS
Nothing ever checks it. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16253
Diffstat (limited to 'module/os/linux/zfs')
-rw-r--r--module/os/linux/zfs/abd_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/zfs/abd_os.c b/module/os/linux/zfs/abd_os.c
index f7af20c61..c4cc2ce01 100644
--- a/module/os/linux/zfs/abd_os.c
+++ b/module/os/linux/zfs/abd_os.c
@@ -509,7 +509,7 @@ abd_alloc_zero_scatter(void)
ABD_SCATTER(abd_zero_scatter).abd_sgl = table.sgl;
ABD_SCATTER(abd_zero_scatter).abd_nents = nr_pages;
abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE;
- abd_zero_scatter->abd_flags |= ABD_FLAG_MULTI_CHUNK | ABD_FLAG_ZEROS;
+ abd_zero_scatter->abd_flags |= ABD_FLAG_MULTI_CHUNK;
abd_for_each_sg(abd_zero_scatter, sg, nr_pages, i) {
sg_set_page(sg, abd_zero_page, PAGESIZE, 0);