- fix-quadratic-behavior-of-shrink_dcache_parent-update.patch removed from -mm tree

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

 



The patch titled
     fix-quadratic-behavior-of-shrink_dcache_parent update
has been removed from the -mm tree.  Its filename was
     fix-quadratic-behavior-of-shrink_dcache_parent-update.patch

This patch was dropped because it was folded into fix-quadratic-behavior-of-shrink_dcache_parent.patch

------------------------------------------------------
Subject: fix-quadratic-behavior-of-shrink_dcache_parent update
From: Miklos Szeredi <miklos@xxxxxxxxxx>

 o dput already checks dentry == NULL, so remove check
   from prune_one_dentry()

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/dcache.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN fs/dcache.c~fix-quadratic-behavior-of-shrink_dcache_parent-update fs/dcache.c
--- a/fs/dcache.c~fix-quadratic-behavior-of-shrink_dcache_parent-update
+++ a/fs/dcache.c
@@ -392,8 +392,7 @@ static void prune_one_dentry(struct dent
 	__d_drop(dentry);
 	dentry = d_kill(dentry);
 	if (!prune_parents) {
-		if (dentry)
-			dput(dentry);
+		dput(dentry);
 		spin_lock(&dcache_lock);
 		return;
 	}
_

Patches currently in -mm which might be from miklos@xxxxxxxxxx are

fix-quadratic-behavior-of-shrink_dcache_parent.patch
fix-quadratic-behavior-of-shrink_dcache_parent-update.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