kernel: make the kernel 3.18 patches apply and boot on arm.
[15.05/openwrt.git] / target / linux / generic / patches-3.18 / 903-debloat_direct_io.patch
index f28c85e..4bceec9 100644 (file)
@@ -42,8 +42,8 @@
 +{
 +}
 +static inline ssize_t __blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode,
-+      struct block_device *bdev, const struct iovec *iov, loff_t offset,
-+      unsigned long nr_segs, get_block_t get_block, dio_iodone_t end_io,
++      struct block_device *bdev, struct iov_iter *iter, loff_t offset,
++      get_block_t get_block, dio_iodone_t end_io,
 +      dio_submit_t submit_io, int flags)
 +{
 +      return -EOPNOTSUPP;