]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: log open-flags upon release-fh
authorShachar Sharon <ssharon@redhat.com>
Sun, 6 Oct 2024 10:26:48 +0000 (13:26 +0300)
committerJule Anger <janger@samba.org>
Mon, 17 Feb 2025 09:53:26 +0000 (09:53 +0000)
commit2aae61a8ad3fd1fe0c377c4bc57d8ca7a77353e0
tree09bd7ba6a4bf35ab72af3e86223daefedb4e7cdc
parenta828997221d94573457a45fbd82d5af20aba85f7
vfs_ceph_new: log open-flags upon release-fh

Store the set of open O_XXX flags as part of the referenced file-handle
to allow more verbose debug-logging info upon close. This should ease
the developer's logging analysis where same inode is opened multiple
times but with different flags set.

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

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 341ff48a5a787ed358a28037b5ec751b7b530e20)
source3/modules/vfs_ceph_new.c