Re: [PATCH] ceph: pass inode rather than table to ceph_match_vxattr()

2012-03-02 Thread Sage Weil
Reviewed-by: Sage Weil On Tue, 28 Feb 2012, Alex Elder wrote: > 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 pointe

Re: [PATCH] ceph: pass inode rather than table to ceph_match_vxattr()

2012-02-28 Thread Yehuda Sadeh Weinraub
On Tue, Feb 28, 2012 at 7:13 PM, Alex Elder wrote: > > 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 fir

[PATCH] ceph: pass inode rather than table to ceph_match_vxattr()

2012-02-28 Thread Alex Elder
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