linux/fs/ext3
Mingming Cao 2bd94bd79e [PATCH] ext3: fix reservation extension
Hugh Dickins wrote:
> Not found anything relevant, but I keep noticing these lines
> in ext2_try_to_allocate_with_rsv(), ext3 and ext4 similar:
>
> 		} else if (grp_goal > 0 &&
> 				(my_rsv->rsv_end - grp_goal + 1) < *count)
> 			try_to_extend_reservation(my_rsv, sb,
> 					*count-my_rsv->rsv_end + grp_goal - 1);
>
> They're wrong, a no-op in most groups, aren't they?  rsv_end is an
> absolute block number, whereas grp_goal is group-relative, so the
> calculation ought to bring in group_first_block?  Or I'm confused.
>

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Cc: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:39 -08:00
..
Makefile [PATCH] ext3: uninline large functions 2006-12-07 08:39:35 -08:00
acl.c
acl.h
balloc.c [PATCH] ext3: fix reservation extension 2006-12-07 08:39:39 -08:00
bitmap.c
dir.c [PATCH] handle ext3 directory corruption better 2006-12-07 08:39:33 -08:00
ext3_jbd.c [PATCH] ext3: uninline large functions 2006-12-07 08:39:35 -08:00
file.c [PATCH] Remove readv/writev methods and use aio_read/aio_write instead 2006-10-01 00:39:28 -07:00
fsync.c
hash.c
ialloc.c
inode.c [PATCH] retries in ext3_prepare_write() violate ordering requirements 2006-12-07 08:39:37 -08:00
ioctl.c
namei.c [PATCH] handle ext3 directory corruption better 2006-12-07 08:39:33 -08:00
namei.h
resize.c
super.c [PATCH] ext3: fsid for statvfs 2006-12-07 08:39:31 -08:00
symlink.c
xattr.c [PATCH] Remove superfluous lock_super() in extN xattr code 2006-12-07 08:39:32 -08:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c