block: flag block devices as supporting IOCB_WAITQ
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
c2a25ec0f1
commit
a304f07448
|
@ -1851,7 +1851,7 @@ static int blkdev_open(struct inode * inode, struct file * filp)
|
|||
*/
|
||||
filp->f_flags |= O_LARGEFILE;
|
||||
|
||||
filp->f_mode |= FMODE_NOWAIT;
|
||||
filp->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC;
|
||||
|
||||
if (filp->f_flags & O_NDELAY)
|
||||
filp->f_mode |= FMODE_NDELAY;
|
||||
|
|
Loading…
Reference in New Issue