- faster-ext2_clear_inode.patch removed from -mm tree

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

 



The patch titled
     Faster ext2_clear_inode()
has been removed from the -mm tree.  Its filename was
     faster-ext2_clear_inode.patch

This patch was dropped because it is obsolete

------------------------------------------------------
Subject: Faster ext2_clear_inode()
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>

If CONFIG_EXT2_FS_POSIX_ACL is not configured, ext2_clear_inode() will be
empty function.  However, there still will be call and immediate return
which can be avoided.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: Joern Engel <joern@xxxxxxxxx>
Cc: Andreas Gruenbacher <agruen@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ext2/super.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -puN fs/ext2/super.c~faster-ext2_clear_inode fs/ext2/super.c
--- a/fs/ext2/super.c~faster-ext2_clear_inode
+++ a/fs/ext2/super.c
@@ -185,9 +185,9 @@ static void destroy_inodecache(void)
 	kmem_cache_destroy(ext2_inode_cachep);
 }
 
+#ifdef CONFIG_EXT2_FS_POSIX_ACL
 static void ext2_clear_inode(struct inode *inode)
 {
-#ifdef CONFIG_EXT2_FS_POSIX_ACL
 	struct ext2_inode_info *ei = EXT2_I(inode);
 
 	if (ei->i_acl && ei->i_acl != EXT2_ACL_NOT_CACHED) {
@@ -198,8 +198,10 @@ static void ext2_clear_inode(struct inod
 		posix_acl_release(ei->i_default_acl);
 		ei->i_default_acl = EXT2_ACL_NOT_CACHED;
 	}
-#endif
 }
+#else
+#define ext2_clear_inode NULL
+#endif
 
 static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs)
 {
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

origin.patch
oom-prevent-including-schedh-in-header-file.patch
oom-add-header-file-to-kbuild-as-unifdef.patch
faster-ext2_clear_inode.patch
fs-proc-mmuc-headers-butchery.patch
remove-sysctlh-from-fsh.patch
add-in-sunos-41x-compatible-mode-for-ufs.patch
epcac-reformat-comments-and-coding-style-improvements.patch
shrink-struct-task_structoomkilladj.patch
drop-some-headers-from-mmh.patch
dont-truncate-proc-pid-environ-at-4096-characters.patch
revert-faster-ext2_clear_inode.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux