Revert "Btrfs-progs: fix mount point detection due to partial prefix match"

This reverts commit cb8abddb20a0823c9dae5ab464a4f767d2268aca.

There are several reports in IRC that this patch breaks in some
send/receive environments. There are no exact steps to reproduce, only
approximate descroptions. Until a proper reproducer is known, the patch
is temporarily reverted due to the user-visible impact.

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

Btrfs-progs build status coverity status

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)

The C and python 3 bindings are provided by a LGPL library libbtrfsutil see libbtrfsutil/README.md for more.

See INSTALL for build instructions and tests/README.md for testing information.

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 bug fixes or minor useful improvements queued.

The release tags are signed with a GPG key ID F2B4 1200 C54E FB30 380C 1756 C565 D5F9 D76D 583B, release tarballs are hosted at kernel.org. See file CHANGES or changelogs on wiki.

Reporting bugs

There are several ways, each has its own specifics and audience that can give feedback or work on a fix. The following list is sorted in the order of preference:

  • github issue tracker
  • to the mailing list linux-btrfs@vger.kernel.org -- (not required to subscribe), beware that the mail might get overlooked in other traffic
  • IRC (irc.freenode.net #btrfs) -- good for discussions eg. if a bug is already known, but reports could miss developers' attention
  • bugzilla.kernel.org -- (requires registration), set the product to Filesystems and component Btrfs, please put ‘btrfs-progs’ into the subject so it‘s clear that it’s not a kernel bug report

Development

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

The GitHub pull requests will not be accepted directly, the preferred way is to send patches to the mailinglist instead. You can link to a branch in any git repository if the mails do not make it to the mailinglist or just for convenience (makes it easier to test).

The development model of btrfs-progs shares a lot with the kernel model. The github way is different in some ways. We, the upstream community, expect that the patches meet some criteria (often lacking in github contributions):

  • one logical change per patch: eg. not mixing bugfixes, cleanups, features etc., sometimes it's not clear and will be usually pointed out during reviews
  • proper subject line: eg. prefix with btrfs-progs: subpart, ... , descriptive yet not too long, see git log --oneline for some inspiration
  • proper changelog: the changelogs are often missing or lacking explanation why the change was made, or how is something broken, what are user-visible effects of the bug or the fix, how does an improvement help or the intended usecase
  • the Signed-off-by line: this documents who authored the change, you can read more about the The Developer's Certificate of Origin (chapter 11)
    • if you are not used to the signed-off style, your contributions won‘t be rejected just because of it’s missing, the Author: tag will be added as a substitute in order to allow contributions without much bothering with formalities

Documentation updates

Documentation fixes or updates do not need much explanation so sticking to the code rules in the previous section is not necessary. GitHub pull requests are OK, patches could be sent to me directly and not required to be also in the mailinglist. Pointing out typos via IRC also works, although might get accidentally lost in the noise.

References