btrfs-progs/convert
David Sterba 02b06b3e8d btrfs-progs: convert: fix self-reference of directory
Creating a simple directory structure leads to the following error:

  $ btrfs check
  Checking filesystem on test.img
  UUID: 8f2292ad-c80e-4ab4-8a72-29aa3a83002c
  [1/7] checking root items
  [2/7] checking extents
  [3/7] checking free space cache
  [4/7] checking fs roots
	  unresolved ref dir 260 index 0 namelen 2 name .. filetype 0 errors 3, no dir item, no dir index
  ERROR: errors found in fs roots
  found 101085184 bytes used, error(s) found
  total csum bytes: 98460
  total tree bytes: 262144
  total fs tree bytes: 49152
  total extent tree bytes: 16384
  btree space waste bytes: 151864
  file data blocks allocated: 167931904
   referenced 167931904

The self-reference should exist for the toplevel directory, where the
parent directory points to itself.

Issue: #453
Author: tyan0
Signed-off-by: David Sterba <dsterba@suse.com>
2022-06-06 15:48:08 +02:00
..
Makefile
common.c btrfs-progs: remove the _nr from the item helpers 2022-03-09 15:13:13 +01:00
common.h btrfs-progs: convert: rename context volume_name to label 2021-08-20 14:24:55 +02:00
main.c btrfs-progs: convert: initialize the target fs label 2022-05-17 21:12:19 +02:00
source-ext2.c btrfs-progs: convert: rename context volume_name to label 2021-08-20 14:24:55 +02:00
source-ext2.h
source-fs.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
source-fs.h btrfs-progs: convert: new option to copy or specify uuid 2021-08-20 14:24:55 +02:00
source-reiserfs.c btrfs-progs: convert: fix self-reference of directory 2022-06-06 15:48:08 +02:00
source-reiserfs.h