diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-05-22 09:13:42 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-01 10:02:33 -0600 |
commit | c8707bf693953b7b455b406e6842f651783576f5 (patch) | |
tree | 55ac09da3b84b5d9aa05c8ba4e45a31240a342dd | |
parent | b90cbe8eccf35cf502c35891beb74d99474136ef (diff) |
ext4: flag as supporting buffered async readsasync-buffered.6
ext4 uses generic_file_read_iter(), which already supports this.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | fs/ext4/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 0d624250a62b..9f7d9bf427b4 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); } |