diff mbox series

[for-next,v3,1/4] fs: add file_operations->uring_cmd_iopoll

Message ID 20220823161443.49436-2-joshi.k@samsung.com (mailing list archive)
State New, archived
Headers show
Series [for-next,v3,1/4] fs: add file_operations->uring_cmd_iopoll | expand

Commit Message

Kanchan Joshi Aug. 23, 2022, 4:14 p.m. UTC
io_uring will invoke this to do completion polling on uring-cmd
operations.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
---
 include/linux/fs.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 9eced4cc286e..d6badd19784f 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2132,6 +2132,7 @@  struct file_operations {
 				   loff_t len, unsigned int remap_flags);
 	int (*fadvise)(struct file *, loff_t, loff_t, int);
 	int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
+	int (*uring_cmd_iopoll)(struct io_uring_cmd *ioucmd);
 } __randomize_layout;
 
 struct inode_operations {