Skip to content
Commit 62913ae9 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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



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>
parent 2b96b4a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment