]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/io-wq.h
Merge tag 'hwmon-for-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groec...
[linux.git] / fs / io-wq.h
index f152ba677d8f570796b1959df9fd42eb9f6bcc25..ccc7d84af57de1a79206181139f8471b086fc5bc 100644 (file)
@@ -76,6 +76,7 @@ struct io_wq_work {
        const struct cred *creds;
        struct fs_struct *fs;
        unsigned flags;
+       pid_t task_pid;
 };
 
 #define INIT_IO_WORK(work, _func)                      \
@@ -109,6 +110,7 @@ void io_wq_flush(struct io_wq *wq);
 
 void io_wq_cancel_all(struct io_wq *wq);
 enum io_wq_cancel io_wq_cancel_work(struct io_wq *wq, struct io_wq_work *cwork);
+enum io_wq_cancel io_wq_cancel_pid(struct io_wq *wq, pid_t pid);
 
 typedef bool (work_cancel_fn)(struct io_wq_work *, void *);