diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2025-05-16 20:09:36 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-06-01 08:46:10 +0300 |
commit | 594ec2ab389ab9cdada13ad85f503bbfc5658e84 (patch) | |
tree | aba338b7dc151a5120821fabbf52db5b3a302290 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e08d5f515613a9860bfee7312461a19f422adb5e (diff) | |
download | linux-594ec2ab389ab9cdada13ad85f503bbfc5658e84.tar.xz |
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: 7a80e5b8c6fa ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions