ext3: journal all modifications in ext3_xattr_set_handle
authorEric Sandeen <sandeen@redhat.com>
Mon, 16 Nov 2009 22:27:30 +0000 (16:27 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:21 +0000 (07:41 -0700)
commit2e1d87a5bde1976c33a921a7056eac87bfe9fc18
tree1ee44a9b811efec931de1c774c0a76a58c3fa998
parentc39de9325438aa053afb3575edf9a1bd83d65819
ext3: journal all modifications in ext3_xattr_set_handle

commit d965736b8cb42ae51ba9c3f13488035a98d025c6 upstream.

ext3_xattr_set_handle() was zeroing out an inode outside
of journaling constraints; this is one of the accesses that
was causing the crc errors in journal replay as seen in
kernel.org bugzilla #14354.

Although ext3 doesn't have the crc issue, modifications
out of journal control are a Bad Thing.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext3/xattr.c