aboutsummaryrefslogtreecommitdiffstats
path: root/fs/logfs/readwrite.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2010-04-29 08:56:37 -0400
committerJoern Engel <joern@logfs.org>2010-04-29 09:19:28 -0400
commit2e531fa0d0868f5114c2b3a782ab02eb9d6f914d (patch)
tree6bd4d485938abdc3834b13c1196acd5e4a362074 /fs/logfs/readwrite.c
parent3272c8a57b77a7277a740e211fe12171e4b37e99 (diff)
LogFS: Fix typo in b6349ac8
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/readwrite.c')
-rw-r--r--fs/logfs/readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index 3159db6958e5..8c663a55b726 100644
--- a/fs/logfs/readwrite.c
+++ b/fs/logfs/readwrite.c
@@ -1861,7 +1861,7 @@ int logfs_truncate(struct inode *inode, u64 target)
1861 size = target; 1861 size = target;
1862 1862
1863 logfs_get_wblocks(sb, NULL, 1); 1863 logfs_get_wblocks(sb, NULL, 1);
1864 err = __logfs_truncate(inode, target); 1864 err = __logfs_truncate(inode, size);
1865 if (!err) 1865 if (!err)
1866 err = __logfs_write_inode(inode, 0); 1866 err = __logfs_write_inode(inode, 0);
1867 logfs_put_wblocks(sb, NULL, 1); 1867 logfs_put_wblocks(sb, NULL, 1);