Re: + embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 November 2007 13:01:25 -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> 
> The patch titled
>      Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
> has been added to the -mm tree.  Its filename is
>      embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> out what to do about this
> 
> ------------------------------------------------------
> Subject: Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
> From: Jan Blunck <jblunck@xxxxxxx>
> 
> Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.
> 
> Signed-off-by: Jan Blunck <jblunck@xxxxxxx>
> Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx>
> Acked-by: Christoph Hellwig <hch@xxxxxx>
> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> CC: <linux-fsdevel@xxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Frowned-upon-by: Joern Engel <joern@xxxxxxxxx>

This patch changes some 400 lines, most if not all of which get longer
and more complicated to read.  23 get sufficiently longer to require an
additional linebreak.  I can't remember complexity being invited into
the kernel without good reasoning, yet the patch description is
surprisingly low on reasoning:
> Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.

The following two patches manage to remove 7 lines in total.  In total
23 were added, 7 removed , 400+ made longer and more complicated.  Is
there another more favorable metric?  Will this patchset prevent bugs?
Shrink the kernel size?  Anything?

If churn is the only effect of this, please considere it NAKed again.

Jörn

-- 
A surrounded army must be given a way out.
-- Sun Tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux