- reiser4-check-radix-tree-emptiness-properly.patch removed from -mm tree

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

 



The patch titled

     reiser4: check radix tree emptiness properly

has been removed from the -mm tree.  Its filename is

     reiser4-check-radix-tree-emptiness-properly.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.

------------------------------------------------------
Subject: reiser4: check radix tree emptiness properly
From: "Vladimir V. Saveliev" <vs@xxxxxxxxxxx>


Reiser4 used to check radix tree emptiness by comparing tree height against
0.  With radix-tree-direct-data.patch not empty tree can have zero height. 
This patch makes reiser4 to check tree emptiness using tree root.

Signed-off-by: Vladimir V. Saveliev <vs@xxxxxxxxxxx>
Cc: Hans Reiser <reiser@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/reiser4/jnode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/reiser4/jnode.c~reiser4-check-radix-tree-emptiness-properly fs/reiser4/jnode.c
--- devel/fs/reiser4/jnode.c~reiser4-check-radix-tree-emptiness-properly	2006-05-10 20:34:24.000000000 -0700
+++ devel-akpm/fs/reiser4/jnode.c	2006-05-10 20:34:24.000000000 -0700
@@ -432,7 +432,7 @@ static void inode_attach_jnode(jnode * n
 	inode = node->key.j.mapping->host;
 	info = reiser4_inode_data(inode);
 	rtree = jnode_tree_by_reiser4_inode(info);
-	if (rtree->height == 0) {
+	if (rtree->height == 0 && rtree->rnode == NULL) {
 		/* prevent inode from being pruned when it has jnodes attached
 		   to it */
 		write_lock_irq(&inode->i_data.tree_lock);
_

Patches currently in -mm which might be from vs@xxxxxxxxxxx are

writeback-fix-range-handling.patch
reiser4.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