Commit 21c05ca88a54 ("workqueue: Add warnings and ensure one among WQ_PERCPU or WQ_UNBOUND is present") added a check for the proper workqueue flags (WQ_PERCPU or WQ_UNBOUND). NTFS driver lacks them, what triggers the following warning: WARNING: kernel/workqueue.c:5855 at __alloc_workqueue+0x688/0x70c, CPU#0: swapper/0/1 workqueue: ntfs-bg-io is using neither WQ_PERCPU or WQ_UNBOUND. Setting WQ_PERCPU. Fix this by explicitely requesting WQ_PERCPU workqueue. Fixes: 6251f0b0de7d ("ntfs: update super block operations") Signed-off-by: Marek Szyprowski --- fs/ntfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 2a5ad7d56bc2..0a7c9d1bc69a 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -2526,7 +2526,7 @@ MODULE_ALIAS_FS("ntfs"); static int ntfs_workqueue_init(void) { - ntfs_wq = alloc_workqueue("ntfs-bg-io", 0, 0); + ntfs_wq = alloc_workqueue("ntfs-bg-io", WQ_PERCPU, 0); if (!ntfs_wq) return -ENOMEM; return 0; -- 2.34.1