linux/fs/ext4
Yongqiang Yang 5b41395fcc ext4: fix credits computing for indirect mapped files
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>
Cc: stable@kernel.org
2011-04-04 15:40:24 -04:00
..
Kconfig
Makefile
acl.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
acl.h
balloc.c ext4: add more tracepoints and use dev_t in the trace buffer 2011-03-21 21:38:05 -04:00
bitmap.c
block_validity.c
dir.c
ext4.h ext4: use little-endian bitops 2011-03-23 19:46:17 -07:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h ext4: remove unnecessary [cm]time update of quota file 2011-04-04 15:33:39 -04:00
extents.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 2011-03-25 09:57:41 -07:00
file.c
fsync.c ext4: add more tracepoints and use dev_t in the trace buffer 2011-03-21 21:38:05 -04:00
hash.c
ialloc.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 2011-03-25 09:57:41 -07:00
inode.c ext4: fix credits computing for indirect mapped files 2011-04-04 15:40:24 -04:00
ioctl.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 2011-03-25 09:57:41 -07:00
mballoc.c ext4: fix a BUG in mb_mark_used during trim. 2011-03-23 15:48:11 -04:00
mballoc.h ext4: clarify description of ac_g_ex in struct ext4_allocation_context 2011-02-24 14:10:00 -05:00
migrate.c ext4: Fix sparse warning: Using plain integer as NULL pointer 2011-02-21 21:01:42 -05:00
move_extent.c
namei.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 2011-03-25 09:57:41 -07:00
page-io.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 2011-03-25 09:57:41 -07:00
resize.c ext4: unify the ext4_handle_release_buffer() api 2011-03-20 22:57:02 -04:00
super.c ext4: remove unnecessary [cm]time update of quota file 2011-04-04 15:33:39 -04:00
symlink.c
xattr.c ext4: unify the ext4_handle_release_buffer() api 2011-03-20 22:57:02 -04:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c