diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-06-03 23:03:16 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-06-26 18:13:05 -0400 |
commit | 11b6890be0084ad4df0e06d89a9fdcc948472c65 (patch) | |
tree | 59dbe0bf280c3edcde8248522799e347941e6d61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19a043bb1fd1b5cb2652ca33536c55e6c0a70df0 (diff) |
ext4: get block from bh in ext4_free_blocks for fast commit replay
ext4_free_blocks will retrieve block from bh if block parameter is zero.
Retrieve block before ext4_free_blocks_simple to avoid potentially
passing wrong block to ext4_free_blocks_simple.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: stable@kernel.org
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20230603150327.3596033-9-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions