diff options
| author | Al Viro <[email protected]> | 2012-02-13 02:00:05 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-02-14 01:45:39 +0000 |
| commit | 847c9db5cb50841589b8ebd3da0769b1b02fb3b2 (patch) | |
| tree | 58d303a0306ed61114032b6d40085b17e13aaa0c /lib/string_helpers.c | |
| parent | vfs: fix compat_sys_stat() handling of overflows in st_nlink (diff) | |
| download | kernel-847c9db5cb50841589b8ebd3da0769b1b02fb3b2.tar.gz kernel-847c9db5cb50841589b8ebd3da0769b1b02fb3b2.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
