From: Heiko Carstens Date: Fri, 3 Apr 2009 14:33:45 +0000 (-0400) Subject: Btrfs: fix __ucmpdi2 compile bug on 32 bit builds X-Git-Tag: v2.6.30-rc1~222^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93dbfad7ac647d4f00354893fe93e8a55be114d5;p=pandora-kernel.git Btrfs: fix __ucmpdi2 compile bug on 32 bit builds We get this on 32 builds: fs/built-in.o: In function `extent_fiemap': (.text+0x1019f2): undefined reference to `__ucmpdi2' Happens because of a switch statement with a 64 bit argument. Convert this to an if statement to fix this. Signed-off-by: Heiko Carstens Signed-off-by: Chris Mason --- Reading git-diff-tree failed