diff options
author | Bijan Mottahedeh <bijan.mottahedeh@oracle.com> | 2020-05-22 21:31:19 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-26 16:48:06 -0600 |
commit | 6f88cc176a3358c54bb6c38c8afee3f3a42faf54 (patch) | |
tree | da410e26c2ffa5537abc83f133e3098c08bdeda2 /fs/stat.c | |
parent | e62753e4e2926f249d088cc0517be5ed4efec6d6 (diff) | |
download | lwn-6f88cc176a3358c54bb6c38c8afee3f3a42faf54.tar.gz lwn-6f88cc176a3358c54bb6c38c8afee3f3a42faf54.zip |
statx: hide interfaces no longer used by io_uring
The io_uring interfaces have been replaced by do_statx() and are no
longer needed.
Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/stat.c')
-rw-r--r-- | fs/stat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/stat.c b/fs/stat.c index 65cf51fda2aa..1b509d87265b 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -152,7 +152,8 @@ int vfs_statx_fd(unsigned int fd, struct kstat *stat, } EXPORT_SYMBOL(vfs_statx_fd); -inline unsigned vfs_stat_set_lookup_flags(unsigned *lookup_flags, int flags) +static inline unsigned vfs_stat_set_lookup_flags(unsigned *lookup_flags, + int flags) { if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH | KSTAT_QUERY_FLAGS)) != 0) @@ -533,7 +534,7 @@ SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, } #endif /* __ARCH_WANT_STAT64 || __ARCH_WANT_COMPAT_STAT64 */ -noinline_for_stack int +static noinline_for_stack int cp_statx(const struct kstat *stat, struct statx __user *buffer) { struct statx tmp; |