Merge branch 'for-3.10/drivers' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / block / blk-merge.c
index 936a110..5f24482 100644 (file)
@@ -143,7 +143,7 @@ new_segment:
                         * termination bit to avoid doing a full
                         * sg_init_table() in drivers for each command.
                         */
-                       (*sg)->page_link &= ~0x02;
+                       sg_unmark_end(*sg);
                        *sg = sg_next(*sg);
                }