projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90cbe8
)
ext4: flag as supporting buffered async reads
async-buffered.6
author
Jens Axboe
<axboe@kernel.dk>
Fri, 22 May 2020 15:13:42 +0000
(09:13 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 1 Jun 2020 16:02:33 +0000
(10:02 -0600)
ext4 uses generic_file_read_iter(), which already supports this.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ext4/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/file.c
b/fs/ext4/file.c
index 0d624250a62bfdfaef0cf0710ef22f139e65d076..9f7d9bf427b48ed69aad9cb8475b086726fae597 100644
(file)
--- 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);
}