dm-ioctl.c (512875bd9661368da6f993205a61213b79ba1df0) dm-ioctl.c (69267a30bed1fabec658058c63845528a8b813d4)
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"

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

327 * Wake up any dm event waiters.
328 */
329 table = dm_get_table(hc->md);
330 if (table) {
331 dm_table_event(table);
332 dm_table_put(table);
333 }
334
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"

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

327 * Wake up any dm event waiters.
328 */
329 table = dm_get_table(hc->md);
330 if (table) {
331 dm_table_event(table);
332 dm_table_put(table);
333 }
334
335 dm_kobject_uevent(hc->md);
336
335 dm_put(hc->md);
336 up_write(&_hash_lock);
337 kfree(old_name);
338 return 0;
339}
340
341/*-----------------------------------------------------------------
342 * Implementation of the ioctl commands

--- 1203 unchanged lines hidden ---
337 dm_put(hc->md);
338 up_write(&_hash_lock);
339 kfree(old_name);
340 return 0;
341}
342
343/*-----------------------------------------------------------------
344 * Implementation of the ioctl commands

--- 1203 unchanged lines hidden ---