Question about hfs_cat_keycmp

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

 



[scripts/get_maintainer.pl -f only gave this list, so here goes:]

hfs_cat_keycmp() in fs/hfs/catalog.c contains

  retval = be32_to_cpu(key1->cat.ParID) - be32_to_cpu(key2->cat.ParID);

Is it guaranteed/documented somewhere that these CNIDs are always within
2^31-1 of each other (in practice probably meaning that they are both in
[0, 2^31-1])? I suppose the answer to the 'guaranteed' part is yes, as
otherwise the Btree wouldn't work well...

Rasmus
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux