Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311184
b: refs/heads/master
c: cb77fcd
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Jun 21, 2012
1 parent 1126870 commit 0fa5eab
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: e18fca734278784bd6591de63ca148cc27344ca9
refs/heads/master: cb77fcd88569cd2b7b25ecd4086ea932a53be9b3
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ static noinline void async_cow_start(struct btrfs_work *work)
async_cow->start, async_cow->end, async_cow,
&num_added);
if (num_added == 0) {
iput(async_cow->inode);
btrfs_add_delayed_iput(async_cow->inode);
async_cow->inode = NULL;
}
}
Expand Down Expand Up @@ -1023,7 +1023,7 @@ static noinline void async_cow_free(struct btrfs_work *work)
struct async_cow *async_cow;
async_cow = container_of(work, struct async_cow, work);
if (async_cow->inode)
iput(async_cow->inode);
btrfs_add_delayed_iput(async_cow->inode);
kfree(async_cow);
}

Expand Down

0 comments on commit 0fa5eab

Please sign in to comment.