diff options
author | yangerkun <yangerkun@huawei.com> | 2021-09-03 14:27:47 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-11-04 10:33:24 -0400 |
commit | 4268496e48dc681cfa53b92357314b5d7221e625 (patch) | |
tree | 9555de6295999618a082df18d6c8a72d64cf988f /fs/squashfs | |
parent | 83c5688b8977b1cd495a05ca0455e4353c8f6655 (diff) |
ext4: ensure enough credits in ext4_ext_shift_path_extents
Like ext4_ext_rm_leaf, we can ensure that there are enough credits
before every call that will consume credits. As part of this fix we
fold the functionality of ext4_access_path() into
ext4_ext_shift_path_extents(). This change is needed as a preparation
for the next bugfix patch.
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20210903062748.4118886-3-yangerkun@huawei.com
Signed-off-by: yangerkun <yangerkun@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions