Separate out common fstatat code into vfs_fstatat
authorOleg Drokin <green@linuxhacker.ru>
Wed, 8 Apr 2009 16:05:42 +0000 (20:05 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Apr 2009 03:02:51 +0000 (23:02 -0400)
commit0112fc2229847feb6c4eb011e6833d8f1742a375
treec5bda0b4f5a5f942478faf2fb5961df7fbd15546
parentfd56d242b3b80b6f2ca174272b20029aae61df75
Separate out common fstatat code into vfs_fstatat

This is a version incorporating Christoph's suggestion.

Separate out common *fstatat functionality into a single function
instead of duplicating it all over the code.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/kernel/sys_oabi-compat.c
arch/s390/kernel/compat_linux.c
arch/sparc/kernel/sys_sparc32.c
arch/x86/ia32/sys_ia32.c
fs/compat.c
fs/stat.c
include/linux/fs.h