Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274661
b: refs/heads/master
c: 5ca4966
h: refs/heads/master
i:
  274659: cf3cf72
v: v3
  • Loading branch information
Li Zefan authored and David Sterba committed Oct 20, 2011
1 parent 31d999e commit 95723cb
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: 151a31b25e5c941bdd9fdefed650effca223c716
refs/heads/master: 5ca496604b5975d371bb669ee6c2394bcbea818f
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ int btrfs_defrag_file(struct inode *inode, struct file *file,
i = range->start >> PAGE_CACHE_SHIFT;
}
if (!max_to_defrag)
max_to_defrag = last_index - 1;
max_to_defrag = last_index;

while (i <= last_index && defrag_count < max_to_defrag) {
/*
Expand Down

0 comments on commit 95723cb

Please sign in to comment.