From: Andrew Price Date: Thu, 1 May 2008 10:55:38 +0000 (+0100) Subject: [GFS2] Fix cast from unsigned int to s64 X-Git-Tag: v2.6.26-rc4~102^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad99f77778e83358c371dab7a50bde69270ed6b8;p=pandora-kernel.git [GFS2] Fix cast from unsigned int to s64 This fixes bz 444829 where allocating a new block caused gfs2 file systems to report 0 bytes used in df. It was caused by a broken cast from an unsigned int in gfs2_block_alloc() to a negative s64 in gfs2_statfs_change(). This patch casts the unsigned int to an s64 before the unary minus is applied. Signed-off-by: Andrew Price Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed