aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2024-06-24 19:01:20 +0200
committerTheodore Ts'o <[email protected]>2024-07-08 23:59:37 -0400
commit1cf5b024a3ffa479ed14e520f81549fce037f322 (patch)
tree7fef5d7f7b15e4f8ff126a8df419b5f8cfd3f5ec /lib/netdev-notifier-error-inject.c
parent27ba5b67312a944576addc4df44ac3b709aabede (diff)
jbd2: drop pointless shrinker batch initialization
In jbd2_journal_init_common() we set batch size of a shrinker shrinking checkpointed buffers to journal->j_max_transaction_buffers. But that is guaranteed to be 0 at that point so we effectively stay with the default shrinker batch size of 128. It has been like this since introduction of jbd2 shrinkers so just drop the pointless initialization. Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions