summaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-14 09:02:07 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-31 08:16:00 +0200
commitfb2da16cd70a5140acdd7a102e5cd3b697c3404f (patch)
tree9632a190aee03c01a491e9910a4b41f80aa31308 /include/linux/syscalls.h
parent8f740636d9049a3f9665a0ec87a00822ec1120b4 (diff)
downloadlinux-fb2da16cd70a5140acdd7a102e5cd3b697c3404f.tar.gz
linux-fb2da16cd70a5140acdd7a102e5cd3b697c3404f.tar.bz2
linux-fb2da16cd70a5140acdd7a102e5cd3b697c3404f.zip
fs: remove ksys_getdents64
Just open code it in the only caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 10843a6adb77..a998651629c7 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -1243,8 +1243,6 @@ ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count);
int ksys_chdir(const char __user *filename);
int ksys_fchmod(unsigned int fd, umode_t mode);
int ksys_fchown(unsigned int fd, uid_t user, gid_t group);
-int ksys_getdents64(unsigned int fd, struct linux_dirent64 __user *dirent,
- unsigned int count);
int ksys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
ssize_t ksys_read(unsigned int fd, char __user *buf, size_t count);
void ksys_sync(void);