Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243154
b: refs/heads/master
c: 4141573
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik committed Mar 17, 2011
1 parent d72d0a8 commit 0688448
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a826d6dcb32d811b4c81df57a5ef1367516586b0
refs/heads/master: 41415730a1050499fbd63b3f7dd59b3a4c3bb91a
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ int btrfs_mark_extent_written(struct btrfs_trans_handle *trans,
key.offset = split;

ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
if (ret < 0)
goto out;
if (ret > 0 && path->slots[0] > 0)
path->slots[0]--;

Expand Down

0 comments on commit 0688448

Please sign in to comment.