mbox series

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

Message ID 20220606034530.153505-1-chenwandun@huawei.com (mailing list archive)
Headers show
Series a few cleanup and bugfixes about shmem | expand

Message

Chen Wandun June 6, 2022, 3:45 a.m. UTC
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(-)