From: Sage Weil Date: Thu, 12 May 2011 22:28:11 +0000 (-0700) Subject: ceph: fix broken comparison in readdir loop X-Git-Tag: v3.0-rc1~159^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da39822c6565095a0151ccf9d6b95e2ae5612885;p=pandora-kernel.git ceph: fix broken comparison in readdir loop Both off and fi->offset are unsigned, so the difference is always >= 0. Compare them directly instead of the sign of the difference. Signed-off-by: Sage Weil --- Reading git-diff-tree failed