tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fs-independent quotas



On 21 October 2011 17:07, Manuel Bouyer <bouyer%antioche.eu.org@localhost> 
wrote:
> On Fri, Oct 21, 2011 at 04:59:37PM +0200, Michal Suchanek wrote:
>> On 21 October 2011 15:48, Manuel Bouyer <bouyer%antioche.eu.org@localhost> 
>> wrote:
>> > On Fri, Oct 21, 2011 at 03:37:43PM +0200, Michal Suchanek wrote:
>>
>> >> > Nor in the tree-based dictionnary, or in the multidimentionnal array.
>> >>
>> >> No, in an array the unused locations do exist.
>> >
>> > I don't understand this. If you have a 2-dimention array
>> > quota[id][type], and quota[class=group] doesn't exist for this filesytem,
>> > you have quota[class=group]=NULL and no memory associated with it.
>>
>> Yes, you don't.
>>
>> What you describe is a dictionary, not an array.
>
> OK. So multi-dimentionnal arrays in C are not arrays, they're dictionary ...

No, you just don't know what arrays in C are like.

Thanks

Michal


Home | Main Index | Thread Index | Old Index