mm: fix SYNC_FILE_RANGE_WRITE to not block
Subsystems (2)
PATCH 1/1 mm: fix SYNC_FILE_RANGE_WRITE to not block
This mode of sync_file_range isn't supposed to block.
Signed-off-by Phillip Susi <[email protected]>
--- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c +1 -1
@@ -232,7 +232,7 @@ EXPORT_SYMBOL(filemap_fdatawrite);int filemap_fdatawrite_range (struct address_space *mapping,loff_t start,loff_t end) { -return __filemap_fdatawrite_range (mapping, start, end,WB_SYNC_ALL ); +return __filemap_fdatawrite_range (mapping, start, end,WB_SYNC_NONE ); }EXPORT_SYMBOL (filemap_fdatawrite_range);
Signature · 7 lines
1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>