dm.c (134d1fd44221614d7de994d07ef92a6111952e1c) dm.c (5ee0524ba137fe928a88b440d014e3c8451fb32c)
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm-core.h"

--- 1827 unchanged lines hidden (view full) ---

1836 atomic_set(&md->holders, 1);
1837 atomic_set(&md->open_count, 0);
1838 atomic_set(&md->event_nr, 0);
1839 atomic_set(&md->uevent_seq, 0);
1840 INIT_LIST_HEAD(&md->uevent_list);
1841 INIT_LIST_HEAD(&md->table_devices);
1842 spin_lock_init(&md->uevent_lock);
1843
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm-core.h"

--- 1827 unchanged lines hidden (view full) ---

1836 atomic_set(&md->holders, 1);
1837 atomic_set(&md->open_count, 0);
1838 atomic_set(&md->event_nr, 0);
1839 atomic_set(&md->uevent_seq, 0);
1840 INIT_LIST_HEAD(&md->uevent_list);
1841 INIT_LIST_HEAD(&md->table_devices);
1842 spin_lock_init(&md->uevent_lock);
1843
1844 md->queue = blk_alloc_queue_node(GFP_KERNEL, numa_node_id);
1844 md->queue = blk_alloc_queue_node(GFP_KERNEL, numa_node_id, NULL);
1845 if (!md->queue)
1846 goto bad;
1847 md->queue->queuedata = md;
1848 md->queue->backing_dev_info->congested_data = md;
1849
1850 md->disk = alloc_disk_node(1, md->numa_node_id);
1851 if (!md->disk)
1852 goto bad;

--- 1279 unchanged lines hidden ---
1845 if (!md->queue)
1846 goto bad;
1847 md->queue->queuedata = md;
1848 md->queue->backing_dev_info->congested_data = md;
1849
1850 md->disk = alloc_disk_node(1, md->numa_node_id);
1851 if (!md->disk)
1852 goto bad;

--- 1279 unchanged lines hidden ---