Author: zbyniu                       Date: Tue Mar 16 11:17:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch for kernels 2.6.31+ from svn

---- Files affected:
packages/iscsitarget:
   2.6.31.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/iscsitarget/2.6.31.patch
diff -u /dev/null packages/iscsitarget/2.6.31.patch:1.1
--- /dev/null   Tue Mar 16 12:17:16 2010
+++ packages/iscsitarget/2.6.31.patch   Tue Mar 16 12:17:11 2010
@@ -0,0 +1,11 @@
+--- iscsitarget-1.4.19/kernel/file-io.c~       2008-11-23 18:28:55.000000000 
+0100
++++ iscsitarget-1.4.19/kernel/file-io.c        2010-03-16 11:23:00.453373658 
+0100
+@@ -88,7 +88,7 @@ static int fileio_sync(struct iet_volume
+               count = lu->blk_cnt << lu->blk_shift;
+       }
+ 
+-      res = sync_page_range(inode, mapping, ppos, count);
++      res = filemap_write_and_wait_range(mapping, ppos, ppos + count - 1);
+       if (res) {
+               eprintk("I/O error: syncing pages failed: %d\n", res);
+               return -EIO;
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to