]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: convert ceph_ll_link to UserPerm and remove struct stat parameter
authorJeff Layton <jlayton@redhat.com>
Mon, 24 Oct 2016 14:03:00 +0000 (10:03 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 25 Oct 2016 17:06:29 +0000 (13:06 -0400)
commit9725a33d40271166eb0333b49b6039adacd931c3
tree4c28922b9d055c1f050a3187de04ae9b699e6fa4
parentf6148de0b6d95fe1c110c0f5c0b2de1ae5ef1cc7
client: convert ceph_ll_link to UserPerm and remove struct stat parameter

The main user of this API (ganesha) doesn't do anything with the
returned attributes, so there's no real point in returning them
there.

Also, we're not guaranteed to have any caps on the target inode
after the link operation, so in the case of FUSE (which does
require the post-op attributes) we should really do a getattr
to get the latest attributes.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/SyntheticClient.cc
src/client/fuse_ll.cc
src/include/cephfs/libcephfs.h
src/libcephfs.cc
src/test/libcephfs/test.cc