diff options
author | Kemeng Shi <[email protected]> | 2024-02-28 17:19:56 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-04-05 15:53:45 +0200 |
commit | 639924abc1ae28eb05893a402081e8e6cff23b8a (patch) | |
tree | b49adda2eedd0e50a3b64fefab9eafa00223d4bd /rust/helpers.c | |
parent | 2ddc93461214507b8e50ba7218d6260be8d623d1 (diff) |
fs/writeback: only calculate dirtied_before when b_io is empty
The dirtied_before is only used when b_io is not empty, so only calculate
when b_io is not empty.
Signed-off-by: Kemeng Shi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions