file: when writing a file make sure it's contents are stored
authorLuka Perkov <luka@openwrt.org>
Wed, 29 Jan 2014 11:21:58 +0000 (11:21 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 29 Jan 2014 13:29:48 +0000 (13:29 +0000)
commit835b8b768da374075af56f624537d03d8ec97647
tree3098da72032ba586b5c2c6d2061a54178ccdad49
parent11f5072bb197c8571518222f8d6572b66338dc8d
file: when writing a file make sure it's contents are stored

Fixes problems with ubi(fs).

Signed-off-by: Luka Perkov <luka@openwrt.org>
file.c