OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc91532
)
Fix truncate(): it always returned 0 instead of actual result.
author
relan
<relan@users.noreply.github.com>
Sat, 13 Feb 2010 08:57:16 +0000
(08:57 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:12 +0000
(08:26 +0300)
fuse/main.c
patch
|
blob
|
history
diff --git
a/fuse/main.c
b/fuse/main.c
index
a37256d
..
409e503
100644
(file)
--- a/
fuse/main.c
+++ b/
fuse/main.c
@@
-72,9
+72,9
@@
static int fuse_exfat_truncate(const char* path, off_t size)
if (rc != 0)
return rc;
- exfat_truncate(&ef, node, size);
+
rc =
exfat_truncate(&ef, node, size);
exfat_put_node(&ef, node);
- return
0
;
+ return
rc
;
}
static int fuse_exfat_readdir(const char* path, void* buffer,