Revision 3aa0ce825ade0cf5506e32ccf51d01fc8d22a9cf authored by Linus Torvalds on 14 October 2010, 21:32:06 UTC, committed by Linus Torvalds on 14 October 2010, 21:32:06 UTC
Tony Luck reports that the addition of the access_ok() check in commit
0eead9ab41da ("Don't dump task struct in a.out core-dumps") broke the
ia64 compile due to missing the necessary header file includes.

Rather than add yet another include (<asm/unistd.h>) to make everything
happy, just uninline the silly core dump helper functions and move the
bodies to fs/exec.c where they make a lot more sense.

dump_seek() in particular was too big to be an inline function anyway,
and none of them are in any way performance-critical.  And we really
don't need to mess up our include file headers more than they already
are.

Reported-and-tested-by: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ae42d8d
History
File Mode Size
cluster
dlm
dlmfs
Kconfig -rw-r--r-- 2.4 KB
Makefile -rw-r--r-- 1011 bytes
acl.c -rw-r--r-- 11.7 KB
acl.h -rw-r--r-- 1.0 KB
alloc.c -rw-r--r-- 185.7 KB
alloc.h -rw-r--r-- 11.8 KB
aops.c -rw-r--r-- 50.6 KB
aops.h -rw-r--r-- 2.7 KB
blockcheck.c -rw-r--r-- 16.4 KB
blockcheck.h -rw-r--r-- 3.8 KB
buffer_head_io.c -rw-r--r-- 10.8 KB
buffer_head_io.h -rw-r--r-- 2.4 KB
dcache.c -rw-r--r-- 13.8 KB
dcache.h -rw-r--r-- 2.1 KB
dir.c -rw-r--r-- 116.0 KB
dir.h -rw-r--r-- 3.9 KB
dlmglue.c -rw-r--r-- 114.6 KB
dlmglue.h -rw-r--r-- 5.8 KB
export.c -rw-r--r-- 6.5 KB
export.h -rw-r--r-- 1.0 KB
extent_map.c -rw-r--r-- 21.4 KB
extent_map.h -rw-r--r-- 2.7 KB
file.c -rw-r--r-- 64.4 KB
file.h -rw-r--r-- 2.6 KB
heartbeat.c -rw-r--r-- 3.4 KB
heartbeat.h -rw-r--r-- 1.5 KB
inode.c -rw-r--r-- 40.4 KB
inode.h -rw-r--r-- 6.0 KB
ioctl.c -rw-r--r-- 4.9 KB
ioctl.h -rw-r--r-- 330 bytes
journal.c -rw-r--r-- 57.8 KB
journal.h -rw-r--r-- 21.9 KB
localalloc.c -rw-r--r-- 33.9 KB
localalloc.h -rw-r--r-- 2.0 KB
locks.c -rw-r--r-- 3.4 KB
locks.h -rw-r--r-- 1.1 KB
mmap.c -rw-r--r-- 4.9 KB
mmap.h -rw-r--r-- 134 bytes
namei.c -rw-r--r-- 60.2 KB
namei.h -rw-r--r-- 1.5 KB
ocfs1_fs_compat.h -rw-r--r-- 2.9 KB
ocfs2.h -rw-r--r-- 21.6 KB
ocfs2_fs.h -rw-r--r-- 49.6 KB
ocfs2_ioctl.h -rw-r--r-- 2.5 KB
ocfs2_lockid.h -rw-r--r-- 3.2 KB
ocfs2_lockingver.h -rw-r--r-- 959 bytes
quota.h -rw-r--r-- 4.4 KB
quota_global.c -rw-r--r-- 27.1 KB
quota_local.c -rw-r--r-- 35.6 KB
refcounttree.c -rw-r--r-- 113.2 KB
refcounttree.h -rw-r--r-- 3.7 KB
reservations.c -rw-r--r-- 20.6 KB
reservations.h -rw-r--r-- 5.3 KB
resize.c -rw-r--r-- 16.1 KB
resize.h -rw-r--r-- 1.1 KB
slot_map.c -rw-r--r-- 12.3 KB
slot_map.h -rw-r--r-- 1.4 KB
stack_o2cb.c -rw-r--r-- 9.8 KB
stack_user.c -rw-r--r-- 23.2 KB
stackglue.c -rw-r--r-- 16.8 KB
stackglue.h -rw-r--r-- 8.9 KB
suballoc.c -rw-r--r-- 76.4 KB
suballoc.h -rw-r--r-- 7.1 KB
super.c -rw-r--r-- 66.2 KB
super.h -rw-r--r-- 1.7 KB
symlink.c -rw-r--r-- 4.2 KB
symlink.h -rw-r--r-- 1.3 KB
sysfile.c -rw-r--r-- 3.7 KB
sysfile.h -rw-r--r-- 1.1 KB
uptodate.c -rw-r--r-- 17.9 KB
uptodate.h -rw-r--r-- 3.0 KB
ver.c -rw-r--r-- 1.2 KB
ver.h -rw-r--r-- 1000 bytes
xattr.c -rw-r--r-- 194.4 KB
xattr.h -rw-r--r-- 3.5 KB

back to top