Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332547
b: refs/heads/master
c: f54fb85
h: refs/heads/master
i:
  332545: 5bb04d1
  332543: b713f64
v: v3
  • Loading branch information
Tsutomu Itoh authored and Chris Mason committed Oct 1, 2012
1 parent 81269a8 commit f6ec5fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 903889f462409c816893abd02d88636f7b4a7774
refs/heads/master: f54fb859da53f04a443c5e3f4cb9b936ed42d227
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/relocation.c
Original file line number Diff line number Diff line change
Expand Up @@ -3270,8 +3270,8 @@ static int delete_block_group_cache(struct btrfs_fs_info *fs_info,
key.offset = 0;

inode = btrfs_iget(fs_info->sb, &key, root, NULL);
if (IS_ERR_OR_NULL(inode) || is_bad_inode(inode)) {
if (inode && !IS_ERR(inode))
if (IS_ERR(inode) || is_bad_inode(inode)) {
if (!IS_ERR(inode))
iput(inode);
return -ENOENT;
}
Expand Down

0 comments on commit f6ec5fc

Please sign in to comment.