Skip to content
Snippets Groups Projects
Commit f90f9a10 authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Frieder Schrempf
Browse files

ext4, jbd2: add an optimized bmap for the journal inode


[ Upstream commit 62913ae9 ]

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: default avatar <syzbot+9543479984ae9e576000@syzkaller.appspotmail.com>
Link: https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 98d36134
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment