quota: unify quota init condition in setattr