From: Al Viro Date: Mon, 13 Feb 2012 02:00:05 +0000 (-0500) Subject: ocfs2: deal with wraparounds of i_nlink in ocfs2_rename() X-Git-Tag: v3.3-rc5~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=847c9db5cb50841589b8ebd3da0769b1b02fb3b2;p=pandora-kernel.git ocfs2: deal with wraparounds of i_nlink in ocfs2_rename() unfortunately, nlink_t may be smaller than 32 bits and ->i_nlink on ocfs2 can grow up to 0xffffffff; storing it in nlink_t variable will lose upper bits on such architectures. Needs to be made u32, until we get kernel-side nlink_t uniformly 32bit... Signed-off-by: Al Viro --- Reading git-diff-tree failed