commit | fcf83067bf6eb101a35620d752bd559d473cfbaa | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Feb 12 20:56:29 2012 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Feb 13 20:45:39 2012 -0500 |
tree | a34e89f84bea5bd9193ed12bc49361950bba03a8 | |
parent | dcdbed853d9fbb0547b781ba676049b87f54129a [diff] |
vfs: fix compat_sys_stat() handling of overflows in st_nlink Massaged cp_compat_stat() into form closer to cp_new_stat(); the only real issue had been in handling of st_nlink overflows - native 32bit stat(2) returns -EOVERFLOW in such situations, compat one silently loses upper bits. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>