When project quota set unlimited(-1), and user in the
project is limited to a value.Then project quota must
smaller than project usage when checking quotas, which
means the value 'overs' is not None.
In this case, even though the user not over the quota,
but they can not create share
Reviewed: https:/ /review. opendev. org/713434 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=78005396827 0900a1402fa0db4 ae96bd16060ad4
Committed: https:/
Submitter: Zuul
Branch: master
commit 780053968270900 a1402fa0db4ae96 bd16060ad4
Author: zhangqing <email address hidden>
Date: Tue Mar 17 20:50:49 2020 +0800
fix bug in quota checking
When project quota set unlimited(-1), and user in the
project is limited to a value.Then project quota must
smaller than project usage when checking quotas, which
means the value 'overs' is not None.
In this case, even though the user not over the quota,
but they can not create share
Closes-bug: #1872872
Change-Id: Id9e2bcb5d30d2b 81b0723dd296b53 7ac7d4519f2