Richard Kennedy 2faf2e19dd ext4: return correct wbc.nr_to_write in ext4_da_writepages
When ext4_da_writepages increases the nr_to_write in writeback_control
then it must always re-base the return value.  Originally there was a
(misguided) attempt prevent wbc.nr_to_write from going negative.  In
fact, it's necessary to allow nr_to_write to be negative so that
wb_writeback() can correctly calculate how many pages were actually
written.  

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-12-25 15:46:07 -05:00
..
2009-12-16 12:16:49 -05:00
2009-09-27 11:39:25 -07:00
2009-12-23 13:44:12 +01:00
2009-12-08 22:42:15 -05:00
2009-12-08 22:42:15 -05:00
2008-10-10 20:02:48 -04:00
2009-12-16 12:16:49 -05:00
2008-10-10 20:02:48 -04:00