Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232796
b: refs/heads/master
c: 1065348
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig committed Feb 3, 2011
1 parent c5cf78c commit 7337ac0
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: a1dbcef0172555464b5329f8ba47d43c98132dfa
refs/heads/master: 1065348d472f97b4b8eb53b60ec67e99148cbbca
4 changes: 2 additions & 2 deletions trunk/fs/hfsplus/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ int hfsplus_file_extend(struct inode *inode)
u32 start, len, goal;
int res;

if (sbi->total_blocks - sbi->free_blocks + 8 >
sbi->alloc_file->i_size * 8) {
if (sbi->alloc_file->i_size * 8 <
sbi->total_blocks - sbi->free_blocks + 8) {
/* extend alloc file */
printk(KERN_ERR "hfs: extend alloc file! "
"(%llu,%u,%u)\n",
Expand Down

0 comments on commit 7337ac0

Please sign in to comment.