coredump: make __get_dumpable/get_dumpable inline, kill fs/coredump.h

1. Remove fs/coredump.h. It is not clear why do we need it,
   it only declares __get_dumpable(), signal.c includes it
   for no reason.

2. Now that get_dumpable() and __get_dumpable() are really
   trivial make them inline in linux/sched.h.

Signed-off-by: Oleg Nesterov <>
Acked-by: Kees Cook <>
Cc: Alex Kelly <>
Cc: "Eric W. Biederman" <>
Cc: Josh Triplett <>
Cc: Petr Matousek <>
Cc: Vasily Kulikov <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
4 files changed