Thread (6 messages) 6 messages, 3 authors, 2012-11-30

Re: [RESEND PATCH] fs/super.c set_anon_super calling optimization

From: Carlos Maiolino <hidden>
Date: 2012-10-26 13:14:41
Also in: linux-fsdevel, lkml

Hi,

On Thu, Oct 25, 2012 at 05:08:19PM +0530, Abhijit Pawar wrote:
Hi,
set_anon_super is called by many filesystems. Some call directly and
some call through the wrapper. Many of them in the wrapper's call to
this function are passing the second argument to this function which
is not used anywhere.

This patch replaces the second variable with NULL.
If the variable isn't used anymore, why don't just get rid of it, instead of
call the function passing a NULL pointer on it?

-- 
--Carlos
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help