Message ID | 20250612143443.2848197-4-willy@infradead.org |
---|---|
State | New |
Headers | show |
Series | Remove zero_user() | expand |
diff --git a/fs/direct-io.c b/fs/direct-io.c index bbd05f1a2145..111958634def 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -996,7 +996,7 @@ static int do_direct_IO(struct dio *dio, struct dio_submit *sdio, dio_unpin_page(dio, page); goto out; } - zero_user(page, from, 1 << blkbits); + memzero_page(page, from, 1 << blkbits); sdio->block_in_file++; from += 1 << blkbits; dio->result += 1 << blkbits;
memzero_page() is the new name for zero_user(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> --- fs/direct-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)