2012-05-01 11:07:17

by Sasikantha Babu

[permalink] [raw]
Subject: Re: [PATCH v2] sysfs: Removed dup_name entirely in sysfs_rename

On Mon, Apr 30, 2012 at 7:21 PM, Greg Kroah-Hartman
<[email protected]> wrote:
> On Mon, Apr 30, 2012 at 03:16:56PM +0530, Sasikantha babu wrote:
>> Since no one using "dup_name", removed it completely in sysfs_rename,
>>
>> Signed-off-by: Sasikantha babu <[email protected]>
>> ---
>> ?fs/sysfs/dir.c | ? ?6 ++----
>> ?1 files changed, 2 insertions(+), 4 deletions(-)
>
> Have you tested this patch and renamed some sysfs files with it with
> SLAB_DEBUGGING enabled? ?There was some "odd" things with regards to
> names that I would like to ensure that is all still working properly
> with this patch.
>
> thanks,
>
> greg k-h

I had enabled SLAB debugging and tested this patch by modifying few
existing sysfs entries and
newly created entries.

[sasikantha@localhost linux-2.6]$ cat .config | grep SLAB
CONFIG_SLAB=y
CONFIG_SLABINFO=y
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y
[sasikantha@localhost linux-2.6]$

Did not face any issues while renaming.

Please let me know if there is any specific scenario that needs to be tested.

Thanks
Sasi