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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cornelia Huck
Date: Thursday, September 18, 2008 - 12:07 am

On Wed, 17 Sep 2008 11:55:14 -0700,
ebiederm@xmission.com (Eric W. Biederman) wrote:


Sure, that case is fine.


Which may be in userspace as well. In the past the networking folks
were unhappy about the sysfs warning, claiming that failures should
rather be handled in their layer.


Does it? Or do I just don't get it because of lack of coffee?


For most cases, yes.


I was under the impression that no checks are done if the rename is
triggered via ioctl. And it makes more sense to have the caller of the
ioctl get an error than to spit a sysfs warning.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH]sysfs: Don't emit a warning when sysfs_rename_l ..., Eric W. Biederman, (Wed Sep 17, 11:55 am)
Re: [PATCH]sysfs: Don't emit a warning when sysfs_rename_l ..., Cornelia Huck, (Thu Sep 18, 12:07 am)
Re: [PATCH]sysfs: Don't emit a warning when sysfs_rename_l ..., Eric W. Biederman, (Thu Sep 18, 3:00 am)
Re: [PATCH]sysfs: Don't emit a warning when sysfs_rename_l ..., Eric W. Biederman, (Thu Sep 18, 4:37 am)
[PATCH] sysfs: Remove sysfs_do_create_link()., Cornelia Huck, (Thu Sep 18, 5:28 am)
Re: [PATCH] sysfs: Remove sysfs_do_create_link()., Cornelia Huck, (Tue Oct 7, 12:23 am)