smbd: do not cover up VFS failures to get quota
authorUri Simchoni <uri@samba.org>
Wed, 30 Mar 2016 11:02:31 +0000 (14:02 +0300)
committerJeremy Allison <jra@samba.org>
Thu, 31 Mar 2016 18:30:11 +0000 (20:30 +0200)
commit0e01ed06a40146d145ffe439a65fb9035ab7b1cf
treec4b98b51861124a6d8a3f5da330bc7a3a7d18594
parent0124d3e6a537374c6639025934903ca03a08691e
smbd: do not cover up VFS failures to get quota

Now that the VFS follows the convention that get-quota
returns error only on error condition, and success
with zero quota if there is no quota assigned,
reply with an error if failing to obtain a user's
quota.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/nttrans.c