[PATCH] 2.6.16-rc-mm4 reiser4 calls try_to_unmap() with 1 arg -- now takes 2

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


Apparent race between reiser4 and direct migration patches in 16-rc1-
Direct migration added arg to rmap.c:try_to_unmap()--int ignore_refs--
fixed up existing refs.  reiser4 adds new call with single arg. 

One doesn't see this when building mm4 w/ reiser4 because the ref under
"#if REISER4_COPY_ON_CAPTURE" that is apparently not enabled.  I  just
it while looking at direct migration patches.  So, this patch is
UNTESTED.  Supplied simply to illustrate the location of the single arg

Signed-off-by: Lee Schermerhorn <[email protected]>

Index: linux-2.6.16-rc1-mm4/fs/reiser4/txnmgr.c
--- linux-2.6.16-rc1-mm4.orig/fs/reiser4/txnmgr.c	2006-01-31
16:51:39.000000000 -0500
+++ linux-2.6.16-rc1-mm4/fs/reiser4/txnmgr.c	2006-02-02
14:43:01.659744418 -0500
@@ -3693,7 +3693,7 @@ static int create_copy_and_replace(jnode
 		if (page_mapped(page)) {
-			result = try_to_unmap(page);
+			result = try_to_unmap(page, 0);
 			if (result == SWAP_AGAIN) {
 				result = RETERR(-E_REPEAT);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux