Files
linux/mm
Kemeng Shi 594ec2ab38 mm: shmem: add missing shmem_unacct_size() in __shmem_file_setup()
We will miss shmem_unacct_size() when is_idmapped_mnt() returns a failure.
Move is_idmapped_mnt() before shmem_acct_size() to fix the issue.

Link: https://lkml.kernel.org/r/20250516170939.965736-3-shikemeng@huaweicloud.com
Fixes: 7a80e5b8c6 ("shmem: support idmapped mounts for tmpfs")
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kairui Song <kasong@tencent.com>
Cc: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-05-31 22:46:10 -07:00
..
2025-05-11 17:48:04 -07:00
2024-11-03 01:28:06 -05:00
2025-05-13 16:28:08 -07:00
2025-03-17 22:06:39 -07:00
2025-05-12 23:50:48 -07:00
2025-03-17 22:06:39 -07:00
2025-01-13 22:40:51 -08:00
2024-07-10 12:14:54 -07:00
2025-05-11 17:48:03 -07:00
2025-05-13 16:28:07 -07:00
2025-05-11 17:48:16 -07:00