kernel_optimize_test/fs/ocfs2
Joel Becker f6087fb799 ocfs2: Check xattr block signatures properly.
The xattr.c code is currently memcmp()ing naking buffer pointers.
Create the OCFS2_IS_VALID_XATTR_BLOCK() macro to match its peers and use
that.

In addition, failed signature checks were returning -EFAULT, which is
completely wrong.  Return -EIO.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-11-10 09:51:44 -08:00
..
cluster [PATCH] sanitize blkdev_get() and friends 2008-10-21 07:49:06 -04:00
dlm
alloc.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
alloc.h ocfs2: Change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree() 2008-10-13 16:57:05 -07:00
aops.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
aops.h
buffer_head_io.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
buffer_head_io.h ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
dcache.c
dcache.h
dir.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
dir.h
dlmglue.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
dlmglue.h
export.c [PATCH] switch all filesystems over to d_obtain_alias 2008-10-23 05:13:01 -04:00
export.h
extent_map.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
extent_map.h
file.c fs: remove prepare_write/commit_write 2008-10-30 11:38:45 -07:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
inode.h ocfs2: Move ocfs2_bread() into dir.c 2008-10-14 11:58:03 -07:00
ioctl.c ocfs2: Don't check for NULL before brelse() 2008-10-13 17:02:44 -07:00
ioctl.h
journal.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
journal.h ocfs2: Switch over to JBD2. 2008-10-13 17:02:43 -07:00
localalloc.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
localalloc.h
locks.c
locks.h
Makefile ocfs2: Move trusted and user attribute support into xattr.c 2008-10-13 17:02:44 -07:00
mmap.c
mmap.h
namei.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Add incompatible flag for extended attribute 2008-10-13 16:57:03 -07:00
ocfs2_jbd_compat.h ocfs2: Switch over to JBD2. 2008-10-13 17:02:43 -07:00
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h ocfs2: Check xattr block signatures properly. 2008-11-10 09:51:44 -08:00
resize.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
resize.h
slot_map.c ocfs2: Make cached block reads the common case. 2008-10-14 11:58:22 -07:00
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c ocfs2: Remove pointless !! 2008-10-13 17:02:44 -07:00
stackglue.h
suballoc.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
suballoc.h ocfs2: Limit inode allocation to 32bits. 2008-10-13 16:57:07 -07:00
super.c ocfs2: Don't check for NULL before brelse() 2008-10-13 17:02:44 -07:00
super.h
symlink.c ocfs2: Simplify ocfs2_read_block() 2008-10-14 11:51:57 -07:00
symlink.h
sysfile.c
sysfile.h
uptodate.c ocfs2: use smaller counters in ocfs2_remove_xattr_clusters_from_cache 2008-10-13 17:02:44 -07:00
uptodate.h
ver.c
ver.h
xattr.c ocfs2: Check xattr block signatures properly. 2008-11-10 09:51:44 -08:00
xattr.h ocfs2: fix function declaration and definition in xattr 2008-11-10 09:51:44 -08:00