mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 09:09:47 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue