Reviewed-by: Timofey Titovets <nefelim...@gmail.com>

2017-08-21 12:43 GMT+03:00 Nikolay Borisov <nbori...@suse.com>:
> Introduced by 5a5f79b57069 ("Btrfs: allow unaligned DIO") and never used,
>
> Signed-off-by: Nikolay Borisov <nbori...@suse.com>
> ---
>  fs/btrfs/inode.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
> index 61f1ad89e97a..f1b3d6146924 100644
> --- a/fs/btrfs/inode.c
> +++ b/fs/btrfs/inode.c
> @@ -8764,7 +8764,6 @@ static void btrfs_submit_direct(struct bio *dio_bio, 
> struct inode *inode,
>  }
>
>  static ssize_t check_direct_IO(struct btrfs_fs_info *fs_info,
> -                              struct kiocb *iocb,
>                                const struct iov_iter *iter, loff_t offset)
>  {
>         int seg;
> @@ -8811,7 +8810,7 @@ static ssize_t btrfs_direct_IO(struct kiocb *iocb, 
> struct iov_iter *iter)
>         bool relock = false;
>         ssize_t ret;
>
> -       if (check_direct_IO(fs_info, iocb, iter, offset))
> +       if (check_direct_IO(fs_info, iter, offset))
>                 return 0;
>
>         inode_dio_begin(inode);
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Have a nice day,
Timofey.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to