diff options
| author | Daisuke Okitsu <daisuke.x.okitsu@sonymobile.com> | 2013-08-05 12:18:15 +0900 |
|---|---|---|
| committer | Johan Redestig <johan.redestig@sonymobile.com> | 2014-11-13 10:51:07 +0100 |
| commit | 19ec8860c1d80836b176dbf3dc434a94182094b7 (patch) | |
| tree | f50d72c60f37b91c57c3e38be196700faf4ae75b /sdcard | |
| parent | 06279285ae38b58988a9431c89b8689d8e16904e (diff) | |
| download | system_core-19ec8860c1d80836b176dbf3dc434a94182094b7.zip system_core-19ec8860c1d80836b176dbf3dc434a94182094b7.tar.gz system_core-19ec8860c1d80836b176dbf3dc434a94182094b7.tar.bz2 | |
Sdcard: Initialize the padding output value
Add initialization of the output value in handle_write.
This value is referred to in FUSE so initialization is
necessary.
See also handle_open and handle_opendir.
Change-Id: I6507f113da9f6823fbfa459624d6594fc20afa51
Diffstat (limited to 'sdcard')
| -rw-r--r-- | sdcard/sdcard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 3fc3577..9ba81ff 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -1269,6 +1269,7 @@ static int handle_write(struct fuse* fuse, struct fuse_handler* handler, return -errno; } out.size = res; + out.padding = 0; fuse_reply(fuse, hdr->unique, &out, sizeof(out)); return NO_STATUS; } |
