lkml.org 
[lkml]   [2012]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] fs:sysfs pass NULL as second parameter for set_anon_super
On 11/29/2012 09:06 PM, Greg Kroah-Hartman wrote:
> On Thu, Nov 29, 2012 at 12:05:45PM +0530, Abhijit Pawar wrote:
>> set_anon_super does not use the second parameter in its implementation.
>> So there is no need to pass on the second parameter.
>
> Why not just remove the second parameter from the call then?
>
> thanks,
>
> greg k-h
>

This is used as a callback function. So changing the signature will
affect many other filesystems who use the default function rather than
the overridden one.


--
-
Abhijit


\
 
 \ /
  Last update: 2012-11-30 07:01    [W:0.046 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site