diff options
author | David S. Miller <davem@davemloft.net> | 2016-09-06 13:46:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-06 13:46:26 -0700 |
commit | 0122c6d5faa3c2bb2523119aa1e20ac5a2f10dd7 (patch) | |
tree | 7d7c4254ff7f02a9aa3a6cdc1ba9181c53113529 /fs/afs/vlocation.c | |
parent | vxlan: Update tx_errors statistics if vxlan_build_skb return err. (diff) | |
parent | fs/afs/flock: Remove deprecated create_singlethread_workqueue (diff) | |
download | linux-dev-0122c6d5faa3c2bb2523119aa1e20ac5a2f10dd7.tar.xz linux-dev-0122c6d5faa3c2bb2523119aa1e20ac5a2f10dd7.zip |
Merge tag 'rxrpc-rewrite-20160904-1' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
David Howells says:
====================
rxrpc: Small fixes
Here's a set of small fix patches:
(1) Fix some uninitialised variables.
(2) Set the client call state before making it live by attaching it to the
conn struct.
(3) Randomise the epoch and starting client conn ID values, and don't
change the epoch when the client conn ID rolls round.
(4) Replace deprecated create_singlethread_workqueue() calls.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/vlocation.c')
-rw-r--r-- | fs/afs/vlocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/vlocation.c b/fs/afs/vlocation.c index 52976785a32c..45a86396fd2d 100644 --- a/fs/afs/vlocation.c +++ b/fs/afs/vlocation.c @@ -594,8 +594,8 @@ static void afs_vlocation_reaper(struct work_struct *work) */ int __init afs_vlocation_update_init(void) { - afs_vlocation_update_worker = - create_singlethread_workqueue("kafs_vlupdated"); + afs_vlocation_update_worker = alloc_workqueue("kafs_vlupdated", + WQ_MEM_RECLAIM, 0); return afs_vlocation_update_worker ? 0 : -ENOMEM; } |