]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/blkdev.h
block: use an atomic_t for mq_freeze_depth
[thirdparty/linux.git] / include / linux / blkdev.h
index 2da818a480975ea28cd82b7beeef9621982120c6..bc917956a6d0b82ab1f17f3159c5e898774047ff 100644 (file)
@@ -444,7 +444,7 @@ struct request_queue {
        struct mutex            sysfs_lock;
 
        int                     bypass_depth;
-       int                     mq_freeze_depth;
+       atomic_t                mq_freeze_depth;
 
 #if defined(CONFIG_BLK_DEV_BSG)
        bsg_job_fn              *bsg_job_fn;