From: Artem Bityutskiy Date: Mon, 17 Dec 2007 13:48:49 +0000 (+0200) Subject: UBI: simplify error handling X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46cfb7c209630b2794e13d149e3ae5bb7a433210;p=pandora-kernel.git UBI: simplify error handling If we fail halfway through sysfs file creation, we may just call sysfs remove function and it will delete all the files we created. For non-existing files it will also be OK - the remove functions just return -ENOENT. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed