mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
null_blk: use memzero_page()
memzero_page() is the new name for zero_user(). Link: https://lkml.kernel.org/r/20250612143443.2848197-3-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Ilya Dryomov <idryomov@gmail.com> Cc: Ira Weiny <ira.weiny@intel.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Xiubo Li <xiubli@redhat.com> Cc: Dan Carpenter <dan.carpenter@linaro.org> Cc: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
ff20487308
commit
1a80ff0f88
1 changed files with 1 additions and 1 deletions
|
|
@ -1179,7 +1179,7 @@ static int copy_from_nullb(struct nullb *nullb, struct page *dest,
|
|||
memcpy_page(dest, off + count, t_page->page, offset,
|
||||
temp);
|
||||
else
|
||||
zero_user(dest, off + count, temp);
|
||||
memzero_page(dest, off + count, temp);
|
||||
|
||||
count += temp;
|
||||
sector += temp >> SECTOR_SHIFT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue