diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2018-09-11 15:59:05 +0900 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-09-23 21:55:29 +0200 |
commit | 704df6aa0a284627940e1b15dc6f1aa528753c4b (patch) | |
tree | 64359c5a5bfef0248a8ada3792ec8c22c29bb760 /include/atmel_lcd.h | |
parent | 4ced2039dc55e74ce0c4587a1cd509109d281e80 (diff) |
fs: fat: refactor write interface for a file offset
The current write implementation is quite simple: remove existing clusters
and then allocating new ones and filling them with data. This, inevitably,
enforces always writing from the beginning of a file.
As the first step to lift this restriction, fat_file_write() and
set_contents() are modified to accept an additional parameter, file offset
and further re-factored so that, in the next patch, all the necessary code
will be put into set_contents().
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/atmel_lcd.h')
0 files changed, 0 insertions, 0 deletions