diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-06-03 18:03:16 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-06-27 01:13:05 +0300 |
commit | 11b6890be0084ad4df0e06d89a9fdcc948472c65 (patch) | |
tree | 59dbe0bf280c3edcde8248522799e347941e6d61 /scripts/lib/kdoc/kdoc_files.py | |
parent | 19a043bb1fd1b5cb2652ca33536c55e6c0a70df0 (diff) | |
download | linux-11b6890be0084ad4df0e06d89a9fdcc948472c65.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions