Martin Hundebøll
09779488a9
tools: env: return error if ubi_update_start() fails
...
The UBI_IOCVOLUP ioctl can fail if exclusive access to the volume isn't
obtained. If this happens, the flush operation doesn't return error,
leaving the caller without knowledge of missing flush.
Fix this by forwarding the error (-1) from ubi_update_start().
Fixes: 34255b92e6e ("tools: env: Add support for direct read/write UBI volumes")
Signed-off-by: Martin Hundebøll <martin@geanix.com>
2021-01-22 16:58:55 -05:00
..
2020-12-13 07:58:17 -07:00
2020-12-22 20:39:26 -07:00
2021-01-05 12:26:35 -07:00
2021-01-05 12:26:35 -07:00
2021-01-22 16:58:55 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:23:39 -06:00
2019-10-08 16:35:59 +02:00
2018-05-07 09:34:12 -04:00
2021-01-05 22:34:43 -05:00
2016-06-13 07:46:29 +09:00
2020-11-30 18:32:09 +01:00
2020-04-24 10:10:00 -04:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:20 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-07-29 00:20:31 +02:00
2019-12-02 18:23:08 -05:00
2020-01-07 11:12:47 -05:00
2018-05-07 09:34:12 -04:00
2021-01-13 02:38:00 +01:00
2020-06-29 22:36:35 +02:00
2019-12-02 18:23:08 -05:00
2020-04-01 07:45:09 -06:00
2020-05-15 14:47:35 -04:00
2018-11-26 22:52:12 -05:00
2020-04-01 07:45:09 -06:00
2019-05-18 12:32:02 -04:00
2019-05-18 12:32:02 -04:00
2020-08-07 11:47:18 -04:00
2019-05-18 12:32:02 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:25:21 -06:00
2018-05-07 09:34:12 -04:00
2010-01-26 00:07:13 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:10:00 -04:00
2021-01-22 16:17:52 -05:00
2019-03-08 11:31:44 -05:00
2020-11-19 09:45:49 -05:00
2017-06-16 10:11:38 -04:00
2020-05-18 17:33:33 -04:00
2020-02-09 14:57:38 +01:00
2020-04-24 10:10:00 -04:00
2019-01-01 14:12:18 +01:00
2020-08-18 10:10:25 +02:00
2010-07-25 15:17:23 -04:00
2019-04-26 17:51:51 -04:00
2020-06-13 23:12:17 +05:30
2020-10-09 12:02:26 -04:00
2020-04-24 10:10:00 -04:00
2020-04-24 10:10:00 -04:00
2018-09-19 08:59:26 +02:00
2018-05-07 09:34:12 -04:00
2021-01-22 16:17:52 -05:00
2014-12-18 17:26:08 -07:00
2019-11-04 18:15:32 -07:00
2018-11-02 22:39:07 +01:00
2020-12-31 14:41:31 +01:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2021-01-22 16:17:53 -05:00
2020-05-01 11:34:01 -04:00
2020-04-24 10:10:00 -04:00
2020-08-23 13:43:10 -04:00
2018-05-07 09:34:12 -04:00
2021-01-18 14:59:29 -05:00
2021-01-18 14:59:29 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2009-04-28 01:16:46 +02:00
2012-09-24 13:17:24 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:51:56 -04:00
2020-04-24 10:51:56 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2019-08-15 13:42:28 +08:00
2019-09-03 09:30:32 +08:00
2020-05-18 18:36:55 -04:00
2018-05-07 10:24:31 -04:00
2020-10-30 23:09:56 +08:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2019-11-04 18:15:32 -07:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2020-09-22 12:50:43 -06:00
2021-01-15 17:48:39 +08:00
2019-10-08 16:36:37 +02:00
2020-02-13 17:32:09 +01:00
2021-01-11 23:19:33 +00:00
2017-05-05 16:45:57 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-11-30 18:32:09 +01:00
2018-05-07 09:34:12 -04:00
2011-07-31 23:25:41 +09:00
2018-05-07 09:34:12 -04:00
2021-01-04 10:51:26 +01:00
2019-10-24 13:37:02 +02:00
2019-10-28 13:32:51 -04:00
2018-05-11 09:23:44 +02:00
2018-05-11 14:54:57 -04:00