summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-22 09:13:42 -0600
committerJens Axboe <axboe@kernel.dk>2020-06-01 10:02:33 -0600
commitc8707bf693953b7b455b406e6842f651783576f5 (patch)
tree55ac09da3b84b5d9aa05c8ba4e45a31240a342dd
parentb90cbe8eccf35cf502c35891beb74d99474136ef (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.c2
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);
}