alistair23-linux/fs/ext4
Tiger Yang 7e01c8e542 ext3/4: fix uninitialized bs in ext3/4_xattr_set_handle()
This fix the uninitialized bs when we try to replace a xattr entry in
ibody with the new value which require more than free space.

This situation only happens we format ext3/4 with inode size more than 128 and
we have put xattr entries both in ibody and block.  The consequences about
this bug is we will lost the xattr block which pointed by i_file_acl with all
xattr entires in it.  We will alloc a new xattr block and put that large value
entry in it.  The old xattr block will become orphan block.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Cc: <linux-ext4@vger.kernel.org>
Cc: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Andreas Dilger <adilger@sun.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-14 19:11:14 -07:00
..
acl.c ext4: fix wrong gfp type under transaction 2008-04-29 22:02:02 -04:00
acl.h [PATCH] ext4: rename ext4 symbols to avoid duplication of ext3 symbols 2006-10-11 11:14:15 -07:00
balloc.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
bitmap.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
dir.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_extents.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_i.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_jbd2.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_jbd2.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_sb.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
extents.c ext4: update ctime and mtime for truncate with extents. 2008-04-29 22:00:41 -04:00
file.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
fsync.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
group.h ext4: add ext4_group_t, and change all group variables to this type. 2008-01-28 23:58:27 -05:00
hash.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ialloc.c ext4: mark inode dirty after initializing the extent tree 2008-04-29 22:00:36 -04:00
inode.c ext4: fix test ext_generic_write_end() copied return value 2008-04-29 22:01:18 -04:00
ioctl.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
Makefile ext4: Add multi block allocator for ext4 2008-01-29 00:19:52 -05:00
mballoc.c Fix misuses of bdevname() 2008-05-13 08:02:26 -07:00
mballoc.h ext4: Move mballoc headers/structures to a seperate header file mballoc.h 2008-04-29 22:01:31 -04:00
migrate.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
namei.c ext4: Fix update of mtime and ctime on rename 2008-04-29 22:02:11 -04:00
namei.h [PATCH] ext4: rename ext4 symbols to avoid duplication of ext3 symbols 2006-10-11 11:14:15 -07:00
resize.c ext4: fix wrong gfp type under transaction 2008-04-29 22:02:02 -04:00
super.c ext4: don't use ext4_error in ext4_check_descriptors 2008-04-29 22:00:28 -04:00
symlink.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr.c ext3/4: fix uninitialized bs in ext3/4_xattr_set_handle() 2008-05-14 19:11:14 -07:00
xattr.h ext4: make ext4_xattr_list() static 2008-04-17 10:38:59 -04:00
xattr_security.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr_trusted.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr_user.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00