hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/fs/btrfs/print-tree.c
....@@ -147,10 +147,10 @@
147147 pr_cont("shared data backref parent %llu count %u\n",
148148 offset, btrfs_shared_data_ref_count(eb, sref));
149149 /*
150
- * offset is supposed to be a tree block which
151
- * must be aligned to nodesize.
150
+ * Offset is supposed to be a tree block which must be
151
+ * aligned to sectorsize.
152152 */
153
- if (!IS_ALIGNED(offset, eb->fs_info->nodesize))
153
+ if (!IS_ALIGNED(offset, eb->fs_info->sectorsize))
154154 pr_info(
155155 "\t\t\t(parent %llu not aligned to sectorsize %u)\n",
156156 offset, eb->fs_info->sectorsize);