Re: [PATCH]sysfs: Don't emit a warning when sysfs_rename_link() fails.

From: Eric W. Biederman
Date: Thu Sep 18 2008 - 07:45:53 EST


Cornelia Huck <cornelia.huck@xxxxxxxxxx> writes:

> On Thu, 18 Sep 2008 03:00:31 -0700,
> ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
>
>> In the dev_change_name we either do dev_alloc_name
>> which generates a unique device name or __dev_get_by_name
>> which looks to see if we are already using that name.
>
> Duh, I overlooked that, sorry about the noise.

No problem.

> (OTOH, we should get of sysfs_do_create_link() then, since it's an
> unneed indirection).

No objection from me.

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/