Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45910
b: refs/heads/master
c: 8682164
h: refs/heads/master
v: v3
  • Loading branch information
Evgeniy Dushistov authored and Linus Torvalds committed Jan 30, 2007
1 parent 57eeeb5 commit 0f820d4
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: a685e26fff387db350966f88eaad515bf41c4705
refs/heads/master: 8682164a66325cab07620082eb7f413b547f4b4a
4 changes: 2 additions & 2 deletions trunk/fs/ufs/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ static int ufs_trunc_direct (struct inode * inode)
tmp = fs32_to_cpu(sb, *p);
if (!tmp )
ufs_panic (sb, "ufs_trunc_direct", "internal error");
frag2 -= frag1;
frag1 = ufs_fragnum (frag1);
frag2 = ufs_fragnum (frag2);

ufs_free_fragments (inode, tmp + frag1, frag2 - frag1);
ufs_free_fragments(inode, tmp + frag1, frag2);
mark_inode_dirty(inode);
frag_to_free = tmp + frag1;

Expand Down

0 comments on commit 0f820d4

Please sign in to comment.