Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318842
b: refs/heads/master
c: b995929
h: refs/heads/master
v: v3
  • Loading branch information
Tsutomu Itoh authored and Chris Mason committed Jul 23, 2012
1 parent f93adb4 commit 03aa88a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 23291a044c31f9dfdeaf633b631059fb75e5c2c4
refs/heads/master: b9959295151625c17723103afd79077e80b24ddd
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2833,7 +2833,7 @@ static int __btrfs_unlink_inode(struct btrfs_trans_handle *trans,
inode_inc_iversion(inode);
inode_inc_iversion(dir);
inode->i_ctime = dir->i_mtime = dir->i_ctime = CURRENT_TIME;
btrfs_update_inode(trans, root, dir);
ret = btrfs_update_inode(trans, root, dir);
out:
return ret;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
}

inode_set_bytes(inode, saved_nbytes);
btrfs_update_inode(trans, root, inode);
ret = btrfs_update_inode(trans, root, inode);
out:
if (inode)
iput(inode);
Expand Down Expand Up @@ -1133,7 +1133,7 @@ static noinline int link_to_fixup_dir(struct btrfs_trans_handle *trans,
btrfs_release_path(path);
if (ret == 0) {
btrfs_inc_nlink(inode);
btrfs_update_inode(trans, root, inode);
ret = btrfs_update_inode(trans, root, inode);
} else if (ret == -EEXIST) {
ret = 0;
} else {
Expand Down

0 comments on commit 03aa88a

Please sign in to comment.