]> 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)
committerAnoop C S <anoopcs@samba.org>
Sun, 3 Nov 2024 09:59:37 +0000 (09:59 +0000)
commit341ff48a5a787ed358a28037b5ec751b7b530e20
treef9bf893ccc1d9778ae502e6466270144320293f9
parent73d5503a90e3bd5b1d1cfc6322d7de10955faf6c
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>
source3/modules/vfs_ceph_new.c