Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190912
b: refs/heads/master
c: 2e531fa
h: refs/heads/master
v: v3
  • Loading branch information
Joern Engel committed Apr 29, 2010
1 parent 064ea1f commit 65fdf9b
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: 3272c8a57b77a7277a740e211fe12171e4b37e99
refs/heads/master: 2e531fa0d0868f5114c2b3a782ab02eb9d6f914d
2 changes: 1 addition & 1 deletion trunk/fs/logfs/readwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ int logfs_truncate(struct inode *inode, u64 target)
size = target;

logfs_get_wblocks(sb, NULL, 1);
err = __logfs_truncate(inode, target);
err = __logfs_truncate(inode, size);
if (!err)
err = __logfs_write_inode(inode, 0);
logfs_put_wblocks(sb, NULL, 1);
Expand Down

0 comments on commit 65fdf9b

Please sign in to comment.