ANDROID: sdcardfs: get rid of 'parent' argument of ->d_compare()
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 8 Aug 2016 06:57:33 +0000 (12:27 +0530)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:02 +0000 (19:40 -0800)
commit69d9b54456c022a3da311c3caf99e614e9b53f97
tree6b20119646a31fbc5f44baf3b6aa7de5bf8e449c
parent4658d3ad43efa659192e8e8df8b158bc9df128f3
ANDROID: sdcardfs: get rid of 'parent' argument of ->d_compare()

->d_compare() doesn't get parent as a separate argument anymore
according to upstream commit 6fa67e707559 ("get rid of 'parent'
argument of ->d_compare()").

We run into following build error otherwise:

  CC [M]  fs/sdcardfs/dentry.o
fs/sdcardfs/dentry.c:183:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .d_compare = sdcardfs_cmp_ci,
               ^
fs/sdcardfs/dentry.c:183:15: note: (near initialization for ‘sdcardfs_ci_dops.d_compare’)

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