linux/fs/btrfs
Qu Wenruo 33d85fda13 btrfs: Don't generate UUID for non-fs tree
btrfs_create_tree() will unconditionally generate UUID for any root.
So for quota tree and data reloc tree created by kernel, they will have
unique UUIDs.

However UUID in root item is only referred by UUID tree, which only
records UUID for fs trees.  This makes unique UUIDs for quota/data reloc
tree meaningless.

Leave the UUID as zero for non-fs tree, making btrfs-debug-tree output
less confusing.

Reported-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-01-22 16:08:11 +01:00
..
tests
acl.c
async-thread.c
async-thread.h
backref.c
backref.h
btrfs_inode.h
check-integrity.c
check-integrity.h
compression.c
compression.h
ctree.c btrfs: handle errors while updating refcounts in update_ref_for_cow 2017-12-07 00:30:03 +01:00
ctree.h for-4.15-rc2-tag 2017-11-29 14:26:50 -08:00
dedupe.h
delayed-inode.c btrfs: Move checks from btrfs_wq_run_delayed_node to btrfs_balance_delayed_items 2018-01-22 16:08:11 +01:00
delayed-inode.h
delayed-ref.c
delayed-ref.h
dev-replace.c
dev-replace.h
dir-item.c
disk-io.c btrfs: Don't generate UUID for non-fs tree 2018-01-22 16:08:11 +01:00
disk-io.h
export.c
export.h
extent-tree.c for-4.15-rc3-tag 2017-12-10 08:30:04 -08:00
extent_io.c btrfs: Remove redundant mirror_num arg 2018-01-22 16:08:11 +01:00
extent_io.h for-4.15-rc2-tag 2017-11-29 14:26:50 -08:00
extent_map.c
extent_map.h
file-item.c
file.c btrfs: Use locked_end rather than open coding it 2018-01-22 16:08:11 +01:00
free-space-cache.c
free-space-cache.h
free-space-tree.c
free-space-tree.h
hash.c
hash.h
inode-item.c
inode-map.c
inode-map.h
inode.c Btrfs: remove redundant btrfs_balance_delayed_items 2018-01-22 16:08:10 +01:00
ioctl.c btrfs: move volume_mutex into the btrfs_rm_device() 2018-01-22 16:08:11 +01:00
Kconfig
locking.c
locking.h
lzo.c
Makefile
math.h
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
props.c
props.h
qgroup.c
qgroup.h
raid56.c
raid56.h
rcu-string.h
reada.c
ref-verify.c
ref-verify.h
relocation.c
root-tree.c
scrub.c
send.c Btrfs: incremental send, fix wrong unlink path after renaming file 2017-11-28 17:15:30 +01:00
send.h
struct-funcs.c
super.c for-4.15-rc2-tag 2017-11-29 14:26:50 -08:00
sysfs.c
sysfs.h
transaction.c
transaction.h
tree-checker.c btrfs: tree-checker: Fix false panic for sanity test 2017-11-28 14:59:09 +01:00
tree-checker.h btrfs: tree-checker: Fix false panic for sanity test 2017-11-28 14:59:09 +01:00
tree-defrag.c
tree-log.c
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: move volume_mutex into the btrfs_rm_device() 2018-01-22 16:08:11 +01:00
volumes.h btrfs: Remove unused function 2018-01-22 16:08:11 +01:00
xattr.c
xattr.h
zlib.c
zstd.c