sys/vfs/hammer: Fix comments
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 12 Nov 2016 15:45:04 +0000 (00:45 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 12 Nov 2016 15:45:04 +0000 (00:45 +0900)
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_disk.h

index 3131c63..bfd1074 100644 (file)
@@ -839,7 +839,7 @@ typedef struct hammer_mount {
        int     hflags;
        int     ronly;
        int     nvolumes;
-       int     master_id;      /* default 0, no-mirror -1, otherwise 0-15 */
+       int     master_id;      /* default 0, no-mirror -1, otherwise 1-15 */
        int     version;        /* hammer filesystem version to use */
        int     rsv_inodes;     /* reserved space due to dirty inodes */
        int64_t rsv_databytes;  /* reserved space due to record data */
index 2c11549..981bb00 100644 (file)
@@ -383,10 +383,10 @@ typedef uint32_t hammer_crc_t;
  *             a zone-2 address.
  */
 typedef struct hammer_blockmap {
-       hammer_off_t    phys_offset;    /* zone-2 physical offset */
-       hammer_off_t    first_offset;   /* zone-X logical offset (zone 3) */
-       hammer_off_t    next_offset;    /* zone-X logical offset */
-       hammer_off_t    alloc_offset;   /* zone-X logical offset */
+       hammer_off_t    phys_offset;  /* zone-2 offset only used by zone-4 */
+       hammer_off_t    first_offset; /* zone-X offset only used by zone-3 */
+       hammer_off_t    next_offset;  /* zone-X offset for allocation */
+       hammer_off_t    alloc_offset; /* zone-X offset only used by zone-3 */
        uint32_t        reserved01;
        hammer_crc_t    entry_crc;
 } *hammer_blockmap_t;