projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: test: add new cli-test for subvol get/set-default
[platform/upstream/btrfs-progs.git]
/
btrfs-list.c
diff --git
a/btrfs-list.c
b/btrfs-list.c
index
dd917a3
..
b6d7658
100644
(file)
--- a/
btrfs-list.c
+++ b/
btrfs-list.c
@@
-1273,7
+1273,7
@@
static void filter_and_sort_subvol(struct root_lookup *all_subvols,
ret = resolve_root(all_subvols, entry, top_id);
if (ret == -ENOENT) {
- if (
top
_id != BTRFS_FS_TREE_OBJECTID) {
+ if (
entry->root
_id != BTRFS_FS_TREE_OBJECTID) {
entry->full_path = strdup("DELETED");
entry->deleted = 1;
} else {