[PATCH v3 0/3] a few cleanup and bugfixes about shmem

From: Chen Wandun
Date: Sun Jun 05 2022 - 23:24:59 EST


v2 ==> v3:
patch1 return the errno from shmem_init_inodecache instead
of NULL on failure.

v1 ==> v2:
combine patch2 and patch3 into a single patch.

Chen Wandun (3):
mm/shmem: check return value of shmem_init_inodecache
mm/shmem: return error code directly for invalid addr
mm/shmem: rework calculation of inflated_addr in
shmem_get_unmapped_area

mm/shmem.c | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)

--
2.25.1