udf: Remove GFP_NOFS from dir iteration code
authorJan Kara <jack@suse.cz>
Tue, 9 Jan 2024 10:00:46 +0000 (11:00 +0100)
committerJan Kara <jack@suse.cz>
Tue, 23 Jan 2024 18:21:10 +0000 (19:21 +0100)
commitf6766303c0f2ffbcc640ef2701984a81a274aff2
treed1f49cb568e44723cae272ae141fc601d0f69bcc
parent249f374eb9b6b969c64212dd860cc1439674c4a8
udf: Remove GFP_NOFS from dir iteration code

Directory iteration code was using GFP_NOFS allocations in two places.
However the code is called only under inode->i_rwsem which is generally
safe wrt reclaim. So we can do the allocations with GFP_KERNEL instead.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/dir.c
fs/udf/namei.c