Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b92e0967 authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: sdcardfs: eliminate the offset argument to ->direct_IO



Eliminate the offset argument to sdcardfs_direct_IO() which is dropped
by upstream commit c8b8e32d ("direct-io: eliminate the offset
argument to ->direct_IO").

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 3e5ef445
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -48,8 +48,7 @@ static int sdcardfs_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
	return err;
}

static ssize_t sdcardfs_direct_IO(struct kiocb *iocb,
		struct iov_iter *iter, loff_t pos)
static ssize_t sdcardfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter)
{
	/*
     * This function returns zero on purpose in order to support direct IO.