- reiser4-check-radix-tree-emptiness-properly-2.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 2

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

     reiser4-check-radix-tree-emptiness-properly-2.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 2
From: Vladimir 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-2 fs/reiser4/jnode.c
--- devel/fs/reiser4/jnode.c~reiser4-check-radix-tree-emptiness-properly-2	2006-05-11 07:42:10.000000000 -0700
+++ devel-akpm/fs/reiser4/jnode.c	2006-05-11 07:42:10.000000000 -0700
@@ -464,7 +464,7 @@ static void inode_detach_jnode(jnode * n
 
 	/* delete jnode from inode's radix tree of jnodes */
 	check_me("zam-1046", radix_tree_delete(rtree, node->key.j.index));
-	if (rtree->height == 0) {
+	if (rtree->rnode == NULL) {
 		/* inode can be pruned now */
 		write_lock_irq(&inode->i_data.tree_lock);
 		inode->i_data.nrpages--;
_

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