Re: [PATCH 43/62] sysfs: Only take active references on attributes.

From: Tejun Heo
Date: Tue Mar 02 2010 - 20:25:15 EST

On 03/03/2010 08:28 AM, Greg Kroah-Hartman wrote:
> From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
> If we exclude directories and symlinks from the set of sysfs
> dirents where we need active references we are left with
> sysfs attributes (binary or not).
> - Tweak sysfs_deactivate to only do something on attributes
> - Move lockdep initialization into sysfs_file_add_mode to
> limit it to just attributes.
> Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
> Acked-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at