summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-18 20:41:00 -0600
committerJens Axboe <axboe@kernel.dk>2020-09-30 20:32:33 -0600
commita3ec60054082ca2c2145ba487f9fc4de904e2b03 (patch)
tree0e08bc6921f35bc8cce5da04cad3343b685f1d95 /include/linux/fs.h
parent9b8284921513fc1ea57d87777283a59b05862f03 (diff)
downloadlwn-a3ec60054082ca2c2145ba487f9fc4de904e2b03.tar.gz
lwn-a3ec60054082ca2c2145ba487f9fc4de904e2b03.zip
io_uring: move io_uring_get_socket() into io_uring.h
Now we have a io_uring kernel header, move this definition out of fs.h and into io_uring.h where it belongs. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7519ae003a08..1c4068428461 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -3514,15 +3514,6 @@ extern int vfs_fadvise(struct file *file, loff_t offset, loff_t len,
extern int generic_fadvise(struct file *file, loff_t offset, loff_t len,
int advice);
-#if defined(CONFIG_IO_URING)
-extern struct sock *io_uring_get_socket(struct file *file);
-#else
-static inline struct sock *io_uring_get_socket(struct file *file)
-{
- return NULL;
-}
-#endif
-
int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags,
unsigned int flags);