]> asedeno.scripts.mit.edu Git - linux.git/commit
fs: add ksys_getdents64() helper; remove in-kernel calls to sys_getdents64()
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 13 Mar 2018 20:34:04 +0000 (21:34 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:16:02 +0000 (20:16 +0200)
commit454dab3f965ec24fda8fbe135c8dad4c5b238a86
treeed786624d90375f37d0eedb1dae0a45b02fc3572
parentbae217ea8c7e123ed3fb1064909a262924771bbb
fs: add ksys_getdents64() helper; remove in-kernel calls to sys_getdents64()

Using this helper allows us to avoid the in-kernel calls to the
sys_getdents64() syscall. The ksys_ prefix denotes that this function
is meant as a drop-in replacement for the syscall. In particular, it
uses the same calling convention as sys_getdents64().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
fs/readdir.c
include/linux/syscalls.h
init/initramfs.c