vfs_gpfs: add sys_proc_fd_path() fallback to vfs_gpfs_fset_dos_attributes()
authorRalph Boehme <slow@samba.org>
Thu, 1 Jul 2021 14:08:02 +0000 (16:08 +0200)
committerJule Anger <janger@samba.org>
Mon, 6 Sep 2021 19:17:11 +0000 (19:17 +0000)
commit45a63783526e48797689c1df0a5657fab9718fb8
tree233a69cb4dca1061bb20269adb5da97819b32faf
parente07c7110e55ed8cf282d84a995258d4652a8c29b
vfs_gpfs: add sys_proc_fd_path() fallback to vfs_gpfs_fset_dos_attributes()

gpfs_set_winattrs() is a modifying operation, my expectation thus is that it is
not allowed on pathref (O_PATH) handles even though a recent Linux kernel commit
44a3b87444058b2cb055092cdebc63858707bf66 allowed calling utimensat() on pathref
handles.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14771
RN: Some VFS operations on pathref (O_PATH) handles fail on GPFS

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 882a466ea5f45e5e2197f2408ccd560383e13c3f)
source3/modules/vfs_gpfs.c