]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix caps handling when calling _ll_getattr
authorJeff Layton <jlayton@redhat.com>
Wed, 12 Oct 2016 11:04:41 +0000 (07:04 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 12 Oct 2016 11:04:41 +0000 (07:04 -0400)
commit39f4f159fdb84662adb2eaa4017479c767f2f555
tree2df2c55c07adc84445ba043f5abc10da33253643
parentbb053b5be4d35352d0e1b926967c7c837de008af
client: fix caps handling when calling _ll_getattr

The _ll_getattr was hardcoded to request CEPH_STAT_CAP_INODE_ALL, even
when the caller didn't need that many caps. Have it take a caps mask
as a parameter and pass that through to _getattr.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h