]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
isofs: replace __get_free_page() with kmalloc()
authorMike Rapoport (Microsoft) <rppt@kernel.org>
Sat, 23 May 2026 17:54:23 +0000 (20:54 +0300)
committerJan Kara <jack@suse.cz>
Mon, 25 May 2026 16:17:27 +0000 (18:17 +0200)
commit9ddaf06cb08b4ea0eec8b9307d5d822fbb111461
tree51249d513796107bcd6fc6d25392615d7b764df6
parent6d06b04c2b8dc0e02920336c9eb4312585fb1492
isofs: replace __get_free_page() with kmalloc()

isofs_readdir() allocates a temporary buffer with __get_free_page().

kmalloc() is a better API for such use and it also provides better
scalability and more debugging possibilities.

Replace use of __get_free_page() with kmalloc().

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Link: https://patch.msgid.link/20260523-b4-fs-v1-11-275e36a83f0e@kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
fs/isofs/dir.c