1
0
Fork 0
alistair23-linux/drivers/staging/exfat
Jia-Ye Li 6e58fc14d7 staging: exfat: Use kvzalloc() instead of kzalloc() for exfat_sb_info
Fix mount failed "Cannot allocate memory".

When the memory gets fragmented, kzalloc() might fail to allocate
physically contiguous pages for the struct exfat_sb_info (its size is
about 34KiB) even the total free memory is enough.
Use kvzalloc() to solve this problem.

Reviewed-by: Ethan Wu <ethanwu@synology.com>
Signed-off-by: Jia-Ye Li <jiayeli@synology.com>
Link: https://lore.kernel.org/r/20190925083729.4653-1-jiayeli@synology.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-04 10:20:57 +02:00
..
Kconfig staging: exfat: Fix a typo in Kconfig 2019-10-01 08:16:04 +02:00
Makefile staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
TODO
exfat.h staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_blkdev.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_cache.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_core.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_nls.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_super.c staging: exfat: Use kvzalloc() instead of kzalloc() for exfat_sb_info 2019-10-04 10:20:57 +02:00
exfat_upcase.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00