linux/fs/jbd2
Theodore Ts'o 0bed2db354 ext4, jbd2: add an optimized bmap for the journal inode
[ Upstream commit 62913ae96d ]

The generic bmap() function exported by the VFS takes locks and does
checks that are not necessary for the journal inode.  So allow the
file system to set a journal-optimized bmap function in
journal->j_bmap.

Reported-by: syzbot+9543479984ae9e576000@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-08-29 17:30:17 +02:00
..
checkpoint.c jbd2: check 'jh->b_transaction' before removing it from checkpoint 2023-09-19 12:28:04 +02:00
commit.c jbd2: make jbd2_journal_get_max_txn_bufs() internal 2024-08-03 08:49:35 +02:00
journal.c ext4, jbd2: add an optimized bmap for the journal inode 2024-08-29 17:30:17 +02: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: fix potential data lost in recovering journal raced with synchronizing fs bdev 2023-11-28 17:07:13 +00:00
revoke.c jbd2: rename jbd_debug() to jbd2_debug() 2022-08-02 23:52:19 -04:00
transaction.c jbd2: fix a race when checking checkpoint buffer busy 2023-08-30 16:10:58 +02:00