]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a1c27acb9bf376607aa351e9b6cc0ae7cf2b503
tree3c89ccd60deee6184b5cc9cf2bbb78291952b047
parent90a929a64da56d376d94bbbf843b370e2f209ab9
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