OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid extra erase on writes to the end of a file.
[android-x86/external-exfat.git]
/
fuse
/
main.c
diff --git
a/fuse/main.c
b/fuse/main.c
index
53bafc1
..
cd02599
100644
(file)
--- a/
fuse/main.c
+++ b/
fuse/main.c
@@
-80,7
+80,7
@@
static int fuse_exfat_truncate(const char* path, off_t size)
if (rc != 0)
return rc;
- rc = exfat_truncate(&ef, node, size);
+ rc = exfat_truncate(&ef, node, size
, true
);
exfat_put_node(&ef, node);
return rc;
}