projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.11/core' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git]
/
fs
/
btrfs
/
export.c
diff --git
a/fs/btrfs/export.c
b/fs/btrfs/export.c
index 81ee29eeb7ca569dd53bea2b35789c1fe9c2c777..4b86916073737a175770605de4a25b862faa6929 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;