Commit a304f074 authored by Jens Axboe's avatar Jens Axboe

block: flag block devices as supporting IOCB_WAITQ

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c2a25ec0
...@@ -1851,7 +1851,7 @@ static int blkdev_open(struct inode * inode, struct file * filp) ...@@ -1851,7 +1851,7 @@ static int blkdev_open(struct inode * inode, struct file * filp)
*/ */
filp->f_flags |= O_LARGEFILE; filp->f_flags |= O_LARGEFILE;
filp->f_mode |= FMODE_NOWAIT; filp->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC;
if (filp->f_flags & O_NDELAY) if (filp->f_flags & O_NDELAY)
filp->f_mode |= FMODE_NDELAY; filp->f_mode |= FMODE_NDELAY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment