btrfs-progs: debug-tree: tweak tree node checks

The tree root and chunk root base pointers are verified in open_ctree so
we don't get NULL here. We still check the node pointers to get better
error message.

Resolves-coverity-id: 1348450
Resolves-coverity-id: 1348451
Signed-off-by: David Sterba <dsterba@suse.com>
1 file changed
tree: 5f779603111486c7bac49e08ac2fba2ad2f9d967
  1. .gitignore
  2. Android.mk
  3. COPYING
  4. Documentation/
  5. INSTALL
  6. Makefile.extrawarn
  7. Makefile.in
  8. README.md
  9. androidcompat.h
  10. autogen.sh
  11. backref.c
  12. backref.h
  13. bcp
  14. bitops.h
  15. btrfs-calc-size.c
  16. btrfs-completion
  17. btrfs-convert.c
  18. btrfs-corrupt-block.c
  19. btrfs-crc.c
  20. btrfs-debug-tree.c
  21. btrfs-debugfs
  22. btrfs-find-root.c
  23. btrfs-fragments.c
  24. btrfs-image.c
  25. btrfs-list.c
  26. btrfs-list.h
  27. btrfs-map-logical.c
  28. btrfs-select-super.c
  29. btrfs-show-super.c
  30. btrfs-zero-log.c
  31. btrfs.c
  32. btrfsck.h
  33. btrfstune.c
  34. chunk-recover.c
  35. cmds-balance.c
  36. cmds-check.c
  37. cmds-device.c
  38. cmds-fi-usage.c
  39. cmds-fi-usage.h
  40. cmds-filesystem.c
  41. cmds-inspect.c
  42. cmds-property.c
  43. cmds-qgroup.c
  44. cmds-quota.c
  45. cmds-receive.c
  46. cmds-replace.c
  47. cmds-rescue.c
  48. cmds-restore.c
  49. cmds-scrub.c
  50. cmds-send.c
  51. cmds-subvolume.c
  52. commands.h
  53. configure.ac
  54. crc32c.c
  55. crc32c.h
  56. ctree.c
  57. ctree.h
  58. dir-item.c
  59. dir-test.c
  60. disk-io.c
  61. disk-io.h
  62. extent-cache.c
  63. extent-cache.h
  64. extent-tree.c
  65. extent_io.c
  66. extent_io.h
  67. file-item.c
  68. file.c
  69. find-root.c
  70. find-root.h
  71. free-space-cache.c
  72. free-space-cache.h
  73. free-space-tree.c
  74. free-space-tree.h
  75. fsck.btrfs
  76. hash.h
  77. hasher.c
  78. help.c
  79. inode-item.c
  80. inode-map.c
  81. inode.c
  82. ioctl-test.c
  83. ioctl.h
  84. kerncompat.h
  85. library-test.c
  86. list.h
  87. list_sort.c
  88. list_sort.h
  89. mkfs.c
  90. print-tree.c
  91. print-tree.h
  92. props.c
  93. props.h
  94. qgroup-verify.c
  95. qgroup-verify.h
  96. qgroup.c
  97. qgroup.h
  98. quick-test.c
  99. radix-tree.c
  100. radix-tree.h
  101. raid6.c
  102. random-test.c
  103. rbtree-utils.c
  104. rbtree-utils.h
  105. rbtree.c
  106. rbtree.h
  107. rbtree_augmented.h
  108. repair.c
  109. repair.h
  110. root-tree.c
  111. send-stream.c
  112. send-stream.h
  113. send-test.c
  114. send-utils.c
  115. send-utils.h
  116. send.h
  117. show-blocks
  118. string-table.c
  119. string-table.h
  120. super-recover.c
  121. task-utils.c
  122. task-utils.h
  123. tests/
  124. transaction.h
  125. ulist.c
  126. ulist.h
  127. utils-lib.c
  128. utils.c
  129. utils.h
  130. uuid-tree.c
  131. version.h.in
  132. version.sh
  133. volumes.c
  134. volumes.h
README.md

Btrfs-progs

Userspace utilities to manage btrfs filesystems. License: GPLv2.

Btrfs is a copy on write (COW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration.

This repository hosts following utilities:

  • btrfs — the main administration tool (manual page)
  • mkfs.btrfs — utility to create the filesystem (manual page)

See INSTALL for build instructions.

Release cycle

The major version releases are time-based and follow the cycle of the linux kernel releases. The cycle usually takes 2 months. A minor version releases may happen in the meantime if there are queued bug fixes or minor useful improvements.

Development

The patch submissions, development or general discussions take place at linux-btrfs@vger.kernel.org mailinglist, subsciption not required.

References