s3/smbd: Don't stat when doing a quota operation (as it's a fake file)
authorNoel Power <noel.power@suse.com>
Tue, 28 Feb 2017 11:36:47 +0000 (11:36 +0000)
committerNoel Power <npower@samba.org>
Tue, 31 Jul 2018 14:56:24 +0000 (16:56 +0200)
commit1033dd9e303fc91b97e2054713b714ed5f356eb8
treec65c5c6faca4de2ddb9b2acc1e4e5a93fd86440b
parentb93408246252fe1e3a72de33bcaa8ebb5fe7a1d2
s3/smbd: Don't stat when doing a quota operation (as it's a fake file)

calling SMB_VFS_STAT on the quota fake file fails and caused
FS_INFO/FileFsControlInfo request to error out early, in turn stopped a
Win8.1 client from proceeding with quota queries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13553

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c