From: Joel Becker Date: Thu, 13 Nov 2008 22:49:18 +0000 (-0800) Subject: ocfs2: Wrap xattr block reads in a dedicated function X-Git-Tag: v2.6.29-rc1~505^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae1d69bedc8d174cb8a558694607e013157cde1;p=pandora-kernel.git 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 Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed