projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: dma_sync_wait and dma_find_channel undefined
[cascardo/linux.git]
/
fs
/
btrfs
/
export.c
diff --git
a/fs/btrfs/export.c
b/fs/btrfs/export.c
index
81ee29e
..
4b86916
100644
(file)
--- a/
fs/btrfs/export.c
+++ b/
fs/btrfs/export.c
@@
-82,11
+82,6
@@
static struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
goto fail;
}
- if (btrfs_root_refs(&root->root_item) == 0) {
- err = -ENOENT;
- goto fail;
- }
-
key.objectid = objectid;
btrfs_set_key_type(&key, BTRFS_INODE_ITEM_KEY);
key.offset = 0;