]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_ceph: Fix a comment in cephwrap_fchmod()
authorAnoop C S <anoopcs@samba.org>
Sat, 11 Nov 2023 05:43:15 +0000 (11:13 +0530)
committerJeremy Allison <jra@samba.org>
Wed, 15 Nov 2023 17:48:42 +0000 (17:48 +0000)
Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_ceph.c

index 521e8303218345f5e5a7189f72153ae1e1efef8f..eeca402a6570bd15c596851fd756cea5b219196e 100644 (file)
@@ -1028,7 +1028,7 @@ static int cephwrap_fchmod(struct vfs_handle_struct *handle, files_struct *fsp,
        DBG_DEBUG("[CEPH] fchmod(%p, %p, %d)\n", handle, fsp, mode);
        if (!fsp->fsp_flags.is_pathref) {
                /*
-                * We can use an io_fd to remove xattrs.
+                * We can use an io_fd to change permissions.
                 */
                result = ceph_fchmod(handle->data, fsp_get_io_fd(fsp), mode);
        } else {