aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorAlex Elder <aelder@sgi.com>2011-10-17 16:42:02 -0400
committerAlex Elder <aelder@sgi.com>2011-10-17 16:42:02 -0400
commit9508534c5f170ada5a745cde0df49732718440e9 (patch)
tree2b0f1e19aa529e77720522d13541adedbc46564e /fs/xfs/xfs_super.c
parent5a93a064d27b42e4af1772b0599b53e3241191ac (diff)
parenta84a79e4d369a73c0130b5858199e949432da4c6 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
Resolved conflicts: fs/xfs/xfs_trans_priv.h: - deleted struct xfs_ail field xa_flags - kept field xa_log_flush in struct xfs_ail fs/xfs/xfs_trans_ail.c: - in xfsaild_push(), in XFS_ITEM_PUSHBUF case, replaced "flush_log = 1" with "ailp->xa_log_flush++" Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index ba16248bcf24..3eca58f51ae9 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1648,24 +1648,13 @@ xfs_init_workqueues(void)
1648 */ 1648 */
1649 xfs_syncd_wq = alloc_workqueue("xfssyncd", WQ_CPU_INTENSIVE, 8); 1649 xfs_syncd_wq = alloc_workqueue("xfssyncd", WQ_CPU_INTENSIVE, 8);
1650 if (!xfs_syncd_wq) 1650 if (!xfs_syncd_wq)
1651 goto out; 1651 return -ENOMEM;
1652
1653 xfs_ail_wq = alloc_workqueue("xfsail", WQ_CPU_INTENSIVE, 8);
1654 if (!xfs_ail_wq)
1655 goto out_destroy_syncd;
1656
1657 return 0; 1652 return 0;
1658
1659out_destroy_syncd:
1660 destroy_workqueue(xfs_syncd_wq);
1661out:
1662 return -ENOMEM;
1663} 1653}
1664 1654
1665STATIC void 1655STATIC void
1666xfs_destroy_workqueues(void) 1656xfs_destroy_workqueues(void)
1667{ 1657{
1668 destroy_workqueue(xfs_ail_wq);
1669 destroy_workqueue(xfs_syncd_wq); 1658 destroy_workqueue(xfs_syncd_wq);
1670} 1659}
1671 1660