Skip to content

Commit

Permalink
vfs_ceph: Fix a comment in cephwrap_fchmod()
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop C S <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
  • Loading branch information
anoopcs9 authored and jrasamba committed Nov 15, 2023
1 parent 5572400 commit 1497344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source3/modules/vfs_ceph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1497344

Please sign in to comment.