Files
linux/fs/ext4
Yongqiang Yang f101d38dd3 ext4: fix credits computing for indirect mapped files
commit 5b41395fcc upstream.

When writing a contiguous set of blocks, two indirect blocks could be
needed depending on how the blocks are aligned, so we need to increase
the number of credits needed by one.

[ Also fixed a another bug which could further underestimate the
  number of journal credits needed by 1; the code was using integer
  division instead of DIV_ROUND_UP() -- tytso]

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-14 16:53:46 -07:00
..
2010-08-02 10:21:23 -07:00
2009-10-01 02:21:07 -04:00
2010-08-13 13:20:18 -07:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00