commit | 6a66a7ded12baa6ebbb2e3e82f8cb91382814839 | [log] [tgz] |
---|---|---|
author | zhangyi (F) <yi.zhang@huawei.com> | Thu Feb 13 14:38:20 2020 +0800 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Feb 13 12:06:17 2020 -0500 |
tree | 55c1cdee9de02c6464af879e02ac3c1cf0783792 | |
parent | af133ade9a40794a37104ecbcc2827c0ea373a3c [diff] |
jbd2: move the clearing of b_modified flag to the journal_unmap_buffer() There is no need to delay the clearing of b_modified flag to the transaction committing time when unmapping the journalled buffer, so just move it to the journal_unmap_buffer(). Link: https://lore.kernel.org/r/20200213063821.30455-2-yi.zhang@huawei.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org