diff options
author | Jan Kara <jack@suse.cz> | 2024-01-09 11:10:14 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 19:21:10 +0100 |
commit | b27ffdc17c2b4cb93eee37aa7a11487f03a2a8ac (patch) | |
tree | 45cf101ef8179bdb322759063fe7c6a7fe77b9df /fs/udf | |
parent | udf: Avoid GFP_NOFS allocation in udf_symlink() (diff) | |
download | linux-b27ffdc17c2b4cb93eee37aa7a11487f03a2a8ac.tar.xz linux-b27ffdc17c2b4cb93eee37aa7a11487f03a2a8ac.zip |
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>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 928a04d9d9e0..0a15ea436fc2 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c @@ -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; |