ext4: don't bump up LONG_MAX nr_to_write by a factor of 8
authorEric Sandeen <sandeen@redhat.com>
Thu, 28 Oct 2010 01:30:03 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:03 +0000 (21:30 -0400)
commitb443e7339aa08574d30b0819b344618459c76214
tree3c89ccd60deee6184b5cc9cf2bbb78291952b047
parent659c6009ca2e3a01acc9881bafe5f55ef09c965b
ext4: don't bump up LONG_MAX nr_to_write by a factor of 8

I'm uneasy with lots of stuff going on in ext4_da_writepages(),
but bumping nr_to_write from LLONG_MAX to -8 clearly isn't
making anything better, so avoid the multiplier in that case.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c