diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h index 402dc366117eaa0275a2f9ba902ca2b93be3f08d..be8a7db5061511d2e5fad3f2482cc355fb86791f 100644 --- a/fs/ext4/ext4_jbd2.h +++ b/fs/ext4/ext4_jbd2.h @@ -456,6 +456,9 @@ static inline int ext4_should_dioread_nolock(struct inode *inode) return 0; if (ext4_should_journal_data(inode)) return 0; + /* temporary fix to prevent generic/422 test failures */ + if (!test_opt(inode->i_sb, DELALLOC)) + return 0; return 1; }