xfs-quota: do not fail if user has no quota
authorUri Simchoni <uri@samba.org>
Wed, 30 Mar 2016 10:00:29 +0000 (13:00 +0300)
committerJeremy Allison <jra@samba.org>
Thu, 31 Mar 2016 18:30:11 +0000 (20:30 +0200)
commitce82f66b9fdc611124f7284e32e44ed3df2d7295
tree63e616ad406471171c11d1895a27d0edc4d65447
parentfaaaae3c57977b6041d0bac99ff696c4760fdb01
xfs-quota: do not fail if user has no quota

XFS fails quotactl(Q_XGETQUOTA) with ENOENT if the user
or group has no quota assigned to it. This is not an error
condition - simply report 0 quota in this case.

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