summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>2020-05-22 21:31:17 -0700
committerJens Axboe <axboe@kernel.dk>2020-05-26 16:48:06 -0600
commit0018784fc84f636d473a0d2a65a34f9d01893c0a (patch)
tree8c468f2701736c720aefa84e53ab90df0a967e87 /fs/internal.h
parent1d9e1288039a47dc1189c3c1fed5cf3c215e94b7 (diff)
downloadlinux-0018784fc84f636d473a0d2a65a34f9d01893c0a.tar.gz
linux-0018784fc84f636d473a0d2a65a34f9d01893c0a.tar.bz2
linux-0018784fc84f636d473a0d2a65a34f9d01893c0a.zip
statx: allow system call to be invoked from io_uring
This is a prepatory patch to allow io_uring to invoke statx directly. Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
index aa5d45524e87..88a9793f96a1 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -188,3 +188,5 @@ int sb_init_dio_done_wq(struct super_block *sb);
*/
unsigned vfs_stat_set_lookup_flags(unsigned *lookup_flags, int flags);
int cp_statx(const struct kstat *stat, struct statx __user *buffer);
+int do_statx(int dfd, const char __user *filename, unsigned flags,
+ unsigned int mask, struct statx __user *buffer);