summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-01-25 14:35:54 +0100
committerTejun Heo <tj@kernel.org>2011-01-25 14:35:54 +0100
commitada609ee2ac2e03bd8abb07f9b3e92cd2e650f19 (patch)
treeccc1051a961b12448420428b5a400a6333d3e821 /fs/nfs
parentc723fdab8aa728dc2bf0da6a0de8bb9c3f588d84 (diff)
downloadop-kernel-dev-ada609ee2ac2e03bd8abb07f9b3e92cd2e650f19.zip
op-kernel-dev-ada609ee2ac2e03bd8abb07f9b3e92cd2e650f19.tar.gz
workqueue: use WQ_MEM_RECLAIM instead of WQ_RESCUER
WQ_RESCUER is now an internal flag and should only be used in the workqueue implementation proper. Use WQ_MEM_RECLAIM instead. This doesn't introduce any functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: dm-devel@redhat.com Cc: Neil Brown <neilb@suse.de>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index d851242..0855acd 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1505,7 +1505,7 @@ static int nfsiod_start(void)
{
struct workqueue_struct *wq;
dprintk("RPC: creating workqueue nfsiod\n");
- wq = alloc_workqueue("nfsiod", WQ_RESCUER, 0);
+ wq = alloc_workqueue("nfsiod", WQ_MEM_RECLAIM, 0);
if (wq == NULL)
return -ENOMEM;
nfsiod_workqueue = wq;
OpenPOWER on IntegriCloud