summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-22 09:13:42 -0600
committerJens Axboe <axboe@kernel.dk>2020-05-23 08:26:46 -0600
commitfa4eb5af432be8d6b87790ffadbed85bede67382 (patch)
treef6327970e4867f5a525ac7b4e57abb156f04f7e8
parenta2b740dda6ed730c60665df73d30bcfc4ae4f0a4 (diff)
ext4: flag as supporting buffered async reads
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);
}