fs: ext4 write: return file len on success
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 17 Feb 2015 14:31:52 +0000 (15:31 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:49:42 +0000 (20:49 -0500)
commit22b7509efb35d7bda05260d5730124dbdc3ea9dc
treeca04865b2a34f83b14ca04cdcbd85112eddea3ec
parentb31f9d7a4aea23a8a9d007356a2b61e503e69daa
fs: ext4 write: return file len on success

After rework of the file system API, the size of ext4
write was missed. This causes printing unreliable write
size at the end of the file system write operation.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
fs/ext4/ext4_write.c