commit | 9401a795c6478953e10226471ba5990db5000e05 | [log] [tgz] |
---|---|---|
author | Taesoo Kim <tsgatesv@gmail.com> | Wed Mar 25 09:53:37 2015 +0100 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Wed Mar 25 11:08:40 2015 +0200 |
tree | 4f655d1cf01561bf184c16bf4e9d323ed5d7cf3a | |
parent | 3527a86b7ae17c949307d00e1eb7087604bca1b4 [diff] |
UBIFS: fix incorrect unlocking handling When ubifs_init_security() fails, 'ui_mutex' is incorrectly unlocked and incorrectly restores 'i_size'. Fix this. Signed-off-by: Taesoo Kim <tsgatesv@gmail.com> Fixes: d7f0b70d30ff ("UBIFS: Add security.* XATTR support for the UBIFS") Reviewed-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>