summaryrefslogtreecommitdiff
path: root/include/linux/joystick.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2024-06-24 19:01:17 +0200
committerTheodore Ts'o <tytso@mit.edu>2024-07-08 23:59:37 -0400
commit4aa99c71e42ad60178c1154ec24e3df9c684fb67 (patch)
tree1b11cb5f1a34c8273fee08a8d252b1d4286e3b0f /include/linux/joystick.h
parent0bab8db4152c4a2185a1367db09cc402bdc62d5e (diff)
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>
Diffstat (limited to 'include/linux/joystick.h')
0 files changed, 0 insertions, 0 deletions