Skip to content

Commit

Permalink
LogFS: Fix typo in b6349ac
Browse files Browse the repository at this point in the history
Signed-off-by: Joern Engel <joern@logfs.org>
  • Loading branch information
Joern Engel committed Apr 29, 2010
1 parent 3272c8a commit 2e531fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 2e531fa

Please sign in to comment.