linux/fs/jbd2
Jan Kara 4aa99c71e4 jbd2: make jbd2_journal_get_max_txn_bufs() internal
There's no reason to have jbd2_journal_get_max_txn_bufs() public
function. Currently all users are internal and can use
journal->j_max_transaction_buffers instead. This saves some unnecessary
recomputations of the limit as a bonus which becomes important as this
function gets more complex in the following patch.

CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20240624170127.3253-1-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2024-07-08 23:59:37 -04:00
..
checkpoint.c jbd2: add prefix 'jbd2' for 'shrink_type' 2024-05-09 10:52:31 -04:00
commit.c jbd2: make jbd2_journal_get_max_txn_bufs() internal 2024-07-08 23:59:37 -04:00
journal.c jbd2: make jbd2_journal_get_max_txn_bufs() internal 2024-07-08 23:59:37 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
recovery.c jbd2: avoid mount failed when commit block is partial submitted 2024-07-08 23:59:37 -04:00
revoke.c jbd2: rename jbd_debug() to jbd2_debug() 2022-08-02 23:52:19 -04:00
transaction.c jbd2: abort journal when detecting metadata writeback error of fs dev 2024-01-04 23:42:21 -05:00