summaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-02-13 02:56:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-02-14 02:45:39 +0100
commitfcf83067bf6eb101a35620d752bd559d473cfbaa (patch)
treea34e89f84bea5bd9193ed12bc49361950bba03a8 /fs/libfs.c
parentquota: Fix deadlock with suspend and quotas (diff)
downloadlinux-fcf83067bf6eb101a35620d752bd559d473cfbaa.tar.xz
linux-fcf83067bf6eb101a35620d752bd559d473cfbaa.zip
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>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions