commit | 62913ae96de747091c4dacd06d158e7729c1a76d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Mar 07 23:15:49 2023 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Mar 11 00:44:24 2023 -0500 |
tree | b8216b43eed65fb2f7ddbedb9bdb7697a890b861 | |
parent | 2b96b4a5d9443ca4cad58b0040be455803c05a42 [diff] |
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: syzbot+9543479984ae9e576000@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0 Signed-off-by: Theodore Ts'o <tytso@mit.edu>