mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
9fc1a09bae
b9e91d2a8e41a43d7ebb7d7eed807a7d8de9b329 added fd==-1 checks to the lseek() path to handle "stat opens". Current reply.c and smb2_ioctl_filesys.c callers do not invoke SMB_VFS_LSEEK() with stat-open fsp structs, so the fd==-1 checks can be removed from the VFS. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>