diff options
author | Bijan Mottahedeh <bijan.mottahedeh@oracle.com> | 2020-05-23 07:31:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-27 01:48:06 +0300 |
commit | 0018784fc84f636d473a0d2a65a34f9d01893c0a (patch) | |
tree | 8c468f2701736c720aefa84e53ab90df0a967e87 /fs/internal.h | |
parent | 1d9e1288039a47dc1189c3c1fed5cf3c215e94b7 (diff) | |
download | linux-0018784fc84f636d473a0d2a65a34f9d01893c0a.tar.xz |
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.h | 2 |
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); |