fs: split off vfs_getdents function of getdents64 syscall
authorStefan Roesch <shr@fb.com>
Tue, 21 Dec 2021 16:40:03 +0000 (08:40 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Dec 2021 19:15:40 +0000 (12:15 -0700)
commit54d460de2423434e7aa9f7fcb9656230de53b85e
treecbb57386f16382a06908aaf022248a19fe20aded
parent1533c1b579e1e866465fd9d04c8a5ebb1e25ba28
fs: split off vfs_getdents function of getdents64 syscall

This splits off the vfs_getdents function from the getdents64 system
call. This allows io_uring to call the vfs_getdents function.

Signed-off-by: Stefan Roesch <shr@fb.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20211221164004.119663-3-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/internal.h
fs/readdir.c