Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346658
b: refs/heads/master
c: 9f3959c
h: refs/heads/master
v: v3
  • Loading branch information
Liu Bo authored and Josef Bacik committed Dec 12, 2012
1 parent 9ada398 commit 2392d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 183f37fa3503332740c76f1b493f4304ec889358
refs/heads/master: 9f3959c53d57d010ae6f4205fbd0159cb7976a83
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
* range being left.
*/
atomic_inc(&root->log_batch);
btrfs_wait_ordered_range(inode, start, end);
btrfs_wait_ordered_range(inode, start, end - start + 1);
atomic_inc(&root->log_batch);

/*
Expand Down

0 comments on commit 2392d0e

Please sign in to comment.