]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Call FSTATVFS instead of STATVFS
authorVolker Lendecke <vl@samba.org>
Tue, 27 Jan 2026 17:46:30 +0000 (18:46 +0100)
committerAnoop C S <anoopcs@samba.org>
Sun, 15 Feb 2026 10:42:34 +0000 (10:42 +0000)
commit6d3e0866f8464f7fec6c1124f5812e300af41301
tree02c4b6e44ace4675c05ab5565981e9b12787ec31
parent32af6b1056ee30e014c3a5c2e4a7a7e949f9ecf4
smbd: Call FSTATVFS instead of STATVFS

To get the fs capabilities we do an openat_pathref_fsp_dot(), which
also avoids a call to SMB_VFS_STAT there.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/smb2_trans2.c
source3/smbd/vfs.c