]> git.neil.brown.name Git - history.git/commit
[PATCH] xattr: re-introduce validity check before xattr cache insert
authorAndreas Gruenbacher <agruen@suse.de>
Tue, 19 Oct 2004 01:17:06 +0000 (18:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:17:06 +0000 (18:17 -0700)
commitdfca7b2165ab74442b0a0e2058d268615d61d4d4
tree9cb66483a829f3ada559f31c637da909ec529f22
parentf25ce515d029ef60a4b14872d8244da4a966fe7f
[PATCH] xattr: re-introduce validity check before xattr cache insert

* ext[23]_xattr_list():

  - Before inserting an xattr block into the cache, make sure that the
    block is not corrupted.  The check got moved after inserting into the
    cache in the xattr consolidation patches, so corrupted blocks could become
    visible to cache users.

  - Take a variable out of the loop that calls the ->list handlers.

* A few cosmetic changes.

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/ext2/acl.c
fs/ext2/xattr.c
fs/ext2/xattr_security.c
fs/ext2/xattr_trusted.c
fs/ext2/xattr_user.c
fs/ext3/acl.c
fs/ext3/xattr.c
fs/ext3/xattr_security.c
fs/ext3/xattr_trusted.c
fs/ext3/xattr_user.c
fs/xattr.c