ANDROID: sdcardfs: eliminate the offset argument to ->direct_IO
authorAmit Pundir <amit.pundir@linaro.org>
Tue, 7 Jun 2016 11:00:56 +0000 (16:30 +0530)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:02 +0000 (19:40 -0800)
commitc11ba7c90adccafa95cd0f5127d2473cbc06d09c
treec47543e2e61cd9ec99efaa3215892acb03609f97
parent373f7f5c1821ae31adeed09d0ecce26614d508af
ANDROID: sdcardfs: eliminate the offset argument to ->direct_IO

Eliminate the offset argument to sdcardfs_direct_IO() which is dropped
by upstream commit c8b8e32d700f ("direct-io: eliminate the offset
argument to ->direct_IO"), otherwise we run into following build error:

  CC [M]  fs/sdcardfs/mmap.o
fs/sdcardfs/mmap.c:76:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .direct_IO = sdcardfs_direct_IO,
               ^
fs/sdcardfs/mmap.c:76:15: note: (near initialization for ‘sdcardfs_aops.direct_IO’)

Change-Id: I292d93bb16365a9fa46494accb2b5da51028b5c1
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
fs/sdcardfs/mmap.c