diff options
| author | Joel Becker <joel.becker@oracle.com> | 2008-10-20 18:20:43 -0700 |
|---|---|---|
| committer | Mark Fasheh <mfasheh@suse.com> | 2008-11-10 09:51:44 -0800 |
| commit | f6087fb799e097e7c9d912daa75701de9d62dc53 (patch) | |
| tree | 010e8455fa5e53e68c76b949b4abd39876c2921f /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | c988fd045f1195e62c0970384903ab9da26a9359 (diff) | |
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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions
