[PATCH] ext3 xattr: Don't write to the in-inode xattr space of reserved inodes
authorAndreas Gruenbacher <agruen@suse.de>
Fri, 8 Jul 2005 00:57:00 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:46 +0000 (18:23 -0700)
commitff87b37da912d6aeab6c20c58f51b34d3e37f111
tree22c2e6467bbd70ea12c9bdbc8180711791cde02f
parent6c036527a630720063b67d9a65455e8caca2c8fa
[PATCH] ext3 xattr: Don't write to the in-inode xattr space of reserved inodes

We are not using the in-inode space for xattrs in reserved inodes because
mkfs.ext3 doesn't initialize it properly.  For those inodes, we set
i_extra_isize to 0.  Make sure that we also don't overwrite the
i_extra_isize field when writing out the inode in that case.  This is for
cleanliness only, and doesn't fix an actual bug.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/inode.c