diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-05-22 17:14:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-22 04:44:25 +0200 |
commit | a304f0744824fd37d6e1aab4f9715f907724ad11 (patch) | |
tree | 5d973fde725a640b47e605c3e99a6be200ee2485 /fs/block_dev.c | |
parent | fs: add FMODE_BUF_RASYNC (diff) | |
download | linux-a304f0744824fd37d6e1aab4f9715f907724ad11.tar.xz linux-a304f0744824fd37d6e1aab4f9715f907724ad11.zip |
block: flag block devices as supporting IOCB_WAITQ
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 0ae656e022fd..679d9346b871 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -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; |