diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2021-06-10 14:24:39 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-06-24 17:55:41 +0300 |
commit | 3b672e3aedffc9f092e7e7eae0050a97a8ca508e (patch) | |
tree | 15cfcd21727ced4a7c78b55cd27b9a19ef2c5c0e /fs/ext4/sysfs.c | |
parent | dbf2bab7935b65689f3b39178cf87374f0334ead (diff) | |
download | linux-3b672e3aedffc9f092e7e7eae0050a97a8ca508e.tar.xz |
ext4: remove bdev_try_to_free_page() callback
After we introduce a jbd2 shrinker to release checkpointed buffer's
journal head, we could free buffer without bdev_try_to_free_page()
under memory pressure. So this patch remove the whole
bdev_try_to_free_page() callback directly. It also remove many
use-after-free issues relate to it together.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210610112440.3438139-8-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/sysfs.c')
0 files changed, 0 insertions, 0 deletions