commit | 4ae1d69bedc8d174cb8a558694607e013157cde1 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Thu Nov 13 14:49:18 2008 -0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Jan 05 08:36:53 2009 -0800 |
tree | ce5c599415435d24ddc5cae88207f5f26c0a18b4 | |
parent | a22305cc693254a2aa651e797875669112ef8635 [diff] |
ocfs2: Wrap xattr block reads in a dedicated function We weren't consistently checking xattr blocks after we read them. Most places checked the signature, but none checked xb_blkno or xb_fs_signature. Create a toplevel ocfs2_read_xattr_block() that does the read and the validation. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>