[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50B844DC.308@gmail.com>
Date: Fri, 30 Nov 2012 11:02:12 +0530
From: Abhijit Pawar <abhi.c.pawar@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Abhijit Pawar <abhi.c.pawar@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists