dm-ioctl.c (41be702a542a0d14bb0b1c16e824fa9ed27616ec) dm-ioctl.c (86f1152b117a404229fd6f08ec3faca779f37b92)
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004 - 2006 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm.h"

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

1413 }
1414
1415 /*
1416 * Fill in the devices.
1417 */
1418 deps->count = count;
1419 count = 0;
1420 list_for_each_entry (dd, dm_table_get_devices(table), list)
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004 - 2006 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm.h"

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

1413 }
1414
1415 /*
1416 * Fill in the devices.
1417 */
1418 deps->count = count;
1419 count = 0;
1420 list_for_each_entry (dd, dm_table_get_devices(table), list)
1421 deps->dev[count++] = huge_encode_dev(dd->dm_dev.bdev->bd_dev);
1421 deps->dev[count++] = huge_encode_dev(dd->dm_dev->bdev->bd_dev);
1422
1423 param->data_size = param->data_start + needed;
1424}
1425
1426static int table_deps(struct dm_ioctl *param, size_t param_size)
1427{
1428 struct mapped_device *md;
1429 struct dm_table *table;

--- 525 unchanged lines hidden ---
1422
1423 param->data_size = param->data_start + needed;
1424}
1425
1426static int table_deps(struct dm_ioctl *param, size_t param_size)
1427{
1428 struct mapped_device *md;
1429 struct dm_table *table;

--- 525 unchanged lines hidden ---