ocfs2: deal with wraparounds of i_nlink in ocfs2_rename()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 13 Feb 2012 02:00:05 +0000 (21:00 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Feb 2012 01:45:39 +0000 (20:45 -0500)
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 <viro@zeniv.linux.org.uk>

No differences found