diff options
author | Sam Lang <sam.lang@inktank.com> | 2012-10-10 10:35:41 -0500 |
---|---|---|
committer | Sam Lang <sam.lang@inktank.com> | 2012-10-17 12:50:48 -0500 |
commit | 809587c91541d5aa893752291a2a8ad43114daf2 (patch) | |
tree | a5b6ea7058df87fdd3c2f468acd30b1dcc7ea8c1 /src/libcephfs.cc | |
parent | 39fcd7e2736966df912b991ded9ea383b2b26b84 (diff) | |
download | ceph-809587c91541d5aa893752291a2a8ad43114daf2.tar.gz |
client: Implement lchown in Client and libcephfs
Signed-off-by: Sam Lang <sam.lang@inktank.com>
Diffstat (limited to 'src/libcephfs.cc')
-rw-r--r-- | src/libcephfs.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcephfs.cc b/src/libcephfs.cc index 9828a7839b9..d2dfb1f90ca 100644 --- a/src/libcephfs.cc +++ b/src/libcephfs.cc @@ -465,6 +465,12 @@ extern "C" int ceph_chown(struct ceph_mount_info *cmount, const char *path, { return cmount->get_client()->chown(path, uid, gid); } +extern "C" int ceph_lchown(struct ceph_mount_info *cmount, const char *path, + uid_t uid, gid_t gid) +{ + return cmount->get_client()->lchown(path, uid, gid); +} + extern "C" int ceph_utime(struct ceph_mount_info *cmount, const char *path, struct utimbuf *buf) |