diff options
author | Alex Elder <elder@dreamhost.com> | 2012-01-23 15:49:27 -0600 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 10:47:46 -0500 |
commit | 06476a69d8954f36a15ff5ddbfd47bdfcff22791 (patch) | |
tree | 3fc48b0e9610b498b41eacbd1b23cce40ab456ec /include/linux/fib_rules.h | |
parent | b829c1954dbeb42a1277a8cb05943050ee70be94 (diff) |
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 <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'include/linux/fib_rules.h')
0 files changed, 0 insertions, 0 deletions