mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
ext4: flag as supporting buffered async reads
ext4 uses generic_file_read_iter(), which already supports this. Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/fb90cc2d-b12c-738f-21a4-dd7a8ae0556a@kernel.dk Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
cb8d53d2c9
commit
766ef1e101
@ -844,7 +844,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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user