diff options
author | Elliott Hughes <enh@google.com> | 2014-07-31 22:28:57 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-07-31 22:28:57 +0000 |
commit | 787a2cce94d61cfc2f2e87a71c3d0f9bb00fc088 (patch) | |
tree | 34d3d8553010b03a0db9e7d37022fdb183d8ebb5 /sdcard | |
parent | 614b923241420f8d05e6a3a6dd238f0e775b2782 (diff) | |
parent | 33a5575a585bdc4000be06f96554309b5d3471ff (diff) | |
download | system_core-787a2cce94d61cfc2f2e87a71c3d0f9bb00fc088.zip system_core-787a2cce94d61cfc2f2e87a71c3d0f9bb00fc088.tar.gz system_core-787a2cce94d61cfc2f2e87a71c3d0f9bb00fc088.tar.bz2 |
am 33a5575a: am 39a8ade7: Merge "Fix sdcard truncates."
* commit '33a5575a585bdc4000be06f96554309b5d3471ff':
Fix sdcard truncates.
Diffstat (limited to 'sdcard')
-rw-r--r-- | sdcard/sdcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 587a4cd..7bf6394 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -910,7 +910,7 @@ static int handle_setattr(struct fuse* fuse, struct fuse_handler* handler, /* XXX: incomplete implementation on purpose. * chmod/chown should NEVER be implemented.*/ - if ((req->valid & FATTR_SIZE) && truncate(path, req->size) < 0) { + if ((req->valid & FATTR_SIZE) && truncate64(path, req->size) < 0) { return -errno; } |