diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 0ca1080e0198..094a66c267b4 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -146,6 +146,7 @@ static void btrfs_read_locked_inode(struct inode *inode) | |||
146 | ret = btrfs_lookup_inode(NULL, root, &path, inode->i_ino, 0); | 146 | ret = btrfs_lookup_inode(NULL, root, &path, inode->i_ino, 0); |
147 | if (ret) { | 147 | if (ret) { |
148 | make_bad_inode(inode); | 148 | make_bad_inode(inode); |
149 | btrfs_release_path(root, &path); | ||
149 | return; | 150 | return; |
150 | } | 151 | } |
151 | inode_item = btrfs_item_ptr(btrfs_buffer_leaf(path.nodes[0]), | 152 | inode_item = btrfs_item_ptr(btrfs_buffer_leaf(path.nodes[0]), |