summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-20 22:28:41 +0200
committerJens Axboe <axboe@kernel.dk>2020-10-21 00:03:13 +0200
commit69228338c9c3f0519f0daeca362a730130211c83 (patch)
tree71a9e5c958cabf76dbc553a5ba3128bfc14fe1c5 /fs/io-wq.h
parentio_uring: fix racy REQ_F_LINK_TIMEOUT clearing (diff)
downloadlinux-69228338c9c3f0519f0daeca362a730130211c83.tar.xz
linux-69228338c9c3f0519f0daeca362a730130211c83.zip
io_uring: unify fsize with def->work_flags
This one was missed in the earlier conversion, should be included like any of the other IO identity flags. Make sure we restore to RLIM_INIFITY when dropping the personality again. Fixes: 98447d65b4a7 ("io_uring: move io identity items into separate struct") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r--fs/io-wq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h
index be21c500c925..cba36f03c355 100644
--- a/fs/io-wq.h
+++ b/fs/io-wq.h
@@ -17,6 +17,7 @@ enum {
IO_WQ_WORK_MM = 128,
IO_WQ_WORK_CREDS = 256,
IO_WQ_WORK_BLKCG = 512,
+ IO_WQ_WORK_FSIZE = 1024,
IO_WQ_HASH_SHIFT = 24, /* upper 8 bits are used for hash key */
};