vfs: drop lseek stat-open checks
authorDavid Disseldorp <ddiss@samba.org>
Mon, 4 Mar 2019 10:35:45 +0000 (11:35 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 4 Mar 2019 18:11:15 +0000 (18:11 +0000)
commit9fc1a09baee4e1339c0fe20e47e24b6ea6c293ae
tree432c6cdcb4908e7788af59235438ea2602aa620a
parent7798bc14fbdae3461eb30421923d53978b3f781d
vfs: drop lseek stat-open checks

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>
source3/modules/vfs_ceph.c
source3/modules/vfs_default.c