commit | c8707bf693953b7b455b406e6842f651783576f5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri May 22 09:13:42 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 01 10:02:33 2020 -0600 |
tree | 55ac09da3b84b5d9aa05c8ba4e45a31240a342dd | |
parent | b90cbe8eccf35cf502c35891beb74d99474136ef [diff] |
ext4: flag as supporting buffered async reads ext4 uses generic_file_read_iter(), which already supports this. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 0d62425..9f7d9bf 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c
@@ -826,7 +826,7 @@ static int ext4_file_open(struct inode * inode, struct file * filp) return ret; } - filp->f_mode |= FMODE_NOWAIT; + filp->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC; return dquot_file_open(inode, filp); }