From: Alex Elder Date: Mon, 23 Jan 2012 21:49:27 +0000 (-0600) Subject: ceph: pass inode rather than table to ceph_match_vxattr() X-Git-Tag: v3.4-rc1~76^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06476a69d8954f36a15ff5ddbfd47bdfcff22791;p=pandora-kernel.git ceph: pass inode rather than table to ceph_match_vxattr() All callers of ceph_match_vxattr() determine what to pass as the first argument by calling ceph_inode_vxattrs(inode). Just do that inside ceph_match_vxattr() itself, changing it to take an inode rather than the vxattr pointer as its first argument. Also ensure the function works correctly for an empty table (i.e., containing only a terminating null entry). Signed-off-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed