mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
udf: Avoid GFP_NOFS allocation in udf_load_pvoldesc()
udf_load_pvoldesc() is called only during mount when it is safe to enter fs reclaim (we hold only s_umount semaphore). Change GFP_NOFS to GFP_KERNEL allocation. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
2ed0d3d4fe
commit
b27ffdc17c
@ -864,7 +864,7 @@ static int udf_load_pvoldesc(struct super_block *sb, sector_t block)
|
||||
int ret;
|
||||
struct timestamp *ts;
|
||||
|
||||
outstr = kmalloc(128, GFP_NOFS);
|
||||
outstr = kmalloc(128, GFP_KERNEL);
|
||||
if (!outstr)
|
||||
return -ENOMEM;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user