coredump: move pipe specific file check into coredump_pipe()

There's no point in having this eyesore in the middle of vfs_coredump().

Link: https://lore.kernel.org/20250612-work-coredump-massage-v1-14-315c0c34ba94@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-06-12 15:25:28 +02:00
commit 5153053692
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2