commit | 847c9db5cb50841589b8ebd3da0769b1b02fb3b2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Feb 12 21:00:05 2012 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Feb 13 20:45:39 2012 -0500 |
tree | 58d303a0306ed61114032b6d40085b17e13aaa0c | |
parent | fcf83067bf6eb101a35620d752bd559d473cfbaa [diff] |
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 <viro@zeniv.linux.org.uk>