[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] Make it possible to set a uuid if one was not set during DM_DEV_CREATE.
- From: Alasdair G Kergon <agk redhat com>
- To: Peter Jones <pjones redhat com>
- Cc: dm-devel redhat com
- Subject: Re: [dm-devel] [PATCH] Make it possible to set a uuid if one was not set during DM_DEV_CREATE.
- Date: Fri, 15 Oct 2010 16:11:01 +0100
Peter Rajnoha tested this this morning and 'dmsetup remove' hung.
On Fri, Oct 08, 2010 at 01:53:43PM -0400, Peter Jones wrote:
> + if (param->flags & DM_NEW_UUID_FLAG) {
> + /*
> + * Does this device already have a uuid?
> + */
> + if (hc->uuid) {
> + DMWARN("asked to change uuid of device with uuid "
> + "already set %s %s -> %s",
> + param->name, hc->uuid, param->uuid);
It's missing dm_put(hd->md) here.
> + up_write(&_hash_lock);
> + kfree(new_data);
> + return ERR_PTR(-EINVAL);
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]