]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: use low-level APIs for linkat
authorShachar Sharon <ssharon@redhat.com>
Thu, 20 Jun 2024 19:46:52 +0000 (22:46 +0300)
committerGünther Deschner <gd@samba.org>
Mon, 29 Jul 2024 14:51:37 +0000 (14:51 +0000)
commit9a70bd606728110ad91cab547a4e31350010bb68
tree5ba53ffb963ddd7a517ac81d47ac2771c5996aa2
parentb536bf1fa87fb794e2992ab5368f41fdba80e3ad
vfs_ceph_new: use low-level APIs for linkat

Implement link operations using libcephfs' low-level APIs. Requires two
phase operation: resolve (by-lookup) reference to inode and then do the
actual (hard) link operation using parent dir-inode reference to the
locally-cached inode.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/modules/vfs_ceph_new.c