sys/vfs/hammer: Fix and add comments on root inode
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 26 Feb 2015 11:25:59 +0000 (20:25 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 26 Feb 2015 17:33:33 +0000 (02:33 +0900)
commitdc241916e10102adde2a9c28e3cd7927ce184206
treec0186c7fdbc6ff4eb27c7322af664cb7e5d78fd9
parent7124a27841442f31d0e649b103eb5d01b192825b
sys/vfs/hammer: Fix and add comments on root inode

- hunk1 - The root inode uses HAMMER_DEF_LOCALIZATION for its
  onmemory ip(inode) localization, however the purpose of this macro
  is not documented anywhere. Make it clear by adding this comment.

- hunk2 - Show HAMMER_OBJID_ROOT is the root inode # for both real
  root inode and PFS root inodes.

- hunk3-4 - Change "stored in the root inode" to "associated with
  the root inode". PFS records are not embedded within the ondisk
  inode structure, but associated with the root inode by id.
  Commit ea434b6f uses "associated with" in its commit message.
sys/vfs/hammer/hammer_btree.h
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_inode.c