projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3272c8a
)
LogFS: Fix typo in b6349ac8
author
Joern Engel
<joern@logfs.org>
Thu, 29 Apr 2010 12:56:37 +0000
(14:56 +0200)
committer
Joern Engel
<joern@logfs.org>
Thu, 29 Apr 2010 13:19:28 +0000
(15:19 +0200)
Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/readwrite.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/logfs/readwrite.c
b/fs/logfs/readwrite.c
index 3159db6958e5bcb77173bc2fe4595083a178bae1..8c663a55b726d4191758e213144b202d9108633f 100644
(file)
--- a/
fs/logfs/readwrite.c
+++ b/
fs/logfs/readwrite.c
@@
-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);