VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Mel Gorman <mgorman@techsingularity.net> 2017-11-15 17:37:41 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-11-15 18:21:06 -0800 commit: c7df8ad2910e965a6241b6d8f52fd122e26b0315 parent: 9cca35d42eb61b69e108a17215756c46173a5e6f
Commit Summary:
mm, truncate: do not check mapping for every page being truncated
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dax.c b/fs/dax.c
index 9ec797424e4f..165fdfb6e508 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -565,7 +565,7 @@ static void *dax_insert_mapping_entry(struct address_space *mapping,
 		ret = __radix_tree_lookup(page_tree, index, &node, &slot);
 		WARN_ON_ONCE(ret != entry);
 		__radix_tree_replace(page_tree, node, slot,
-				     new_entry, NULL, NULL);
+				     new_entry, NULL);
 		entry = new_entry;
 	}