VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Nick Piggin <npiggin@suse.de> 2009-01-06 14:39:12 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-01-06 15:59:00 -0800 commit: ee53a891f47444c53318b98dac947ede963db400 parent: 82fd1a9a8ced9607312b54859572bcc6211e8919
Commit Summary:
mm: do_sync_mapping_range integrity fix
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/sync.c b/fs/sync.c
index 0921d6d4b5e6..ac02b56548bc 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -295,7 +295,7 @@ int do_sync_mapping_range(struct address_space *mapping, loff_t offset,
 
 	if (flags & SYNC_FILE_RANGE_WRITE) {
 		ret = __filemap_fdatawrite_range(mapping, offset, endbyte,
-						WB_SYNC_NONE);
+						WB_SYNC_ALL);
 		if (ret < 0)
 			goto out;
 	}