From: Geert Uytterhoeven Date: Fri, 26 Jul 2013 07:57:31 +0000 (+0200) Subject: dm cache: avoid conflicting remove_mapping() in mq policy X-Git-Tag: v3.11-rc7~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b936bf8b785f0fbe083d203049e4da1c56ec788f;p=pandora-kernel.git dm cache: avoid conflicting remove_mapping() in mq policy On sparc32, which includes from : drivers/md/dm-cache-policy-mq.c:962:13: error: conflicting types for 'remove_mapping' include/linux/swap.h:285:12: note: previous declaration of 'remove_mapping' was here As mq_remove_mapping() already exists, and the local remove_mapping() is used only once, inline it manually to avoid the conflict. Signed-off-by: Geert Uytterhoeven Signed-off-by: Mike Snitzer Signed-off-by: Alasdair Kergon Acked-by: Joe Thornber --- Reading git-diff-tree failed