anchor.diff:      ok;
   soft_assert_write(SpaceId, WriteSize) ->
       {ok, SoftQuotaSize} = application:get_env(?APP_NAME, soft_quota_limit_size),
  -    case available_size(SpaceId) + SoftQuotaSize >= WriteSize of
  +    case space_quota:available_size(SpaceId) + SoftQuotaSize >= WriteSize of
           true -> ok;
           false -> throw(?ENOSPC)
       end.
  
positive.code: -spec assert_write(SpaceId :: space_info:id()) ->
      ok | no_return().
  assert_write(SpaceId) ->
      assert_write(SpaceId, 1).
  
  
  %%--------------------------------------------------------------------
  
negative.code: assert_write(_SpaceId, WriteSize) when WriteSize =< 0 ->
      ok;
  assert_write(SpaceId, WriteSize) ->
      case space_quota:available_size(SpaceId) >= WriteSize of
          true -> ok;
          false -> throw(?ENOSPC)
      end.
  