summaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorTaesoo Kim <tsgatesv@gmail.com>2015-03-25 11:53:37 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2015-03-25 12:08:40 +0300
commit9401a795c6478953e10226471ba5990db5000e05 (patch)
tree4f655d1cf01561bf184c16bf4e9d323ed5d7cf3a /fs/ubifs/super.c
parent3527a86b7ae17c949307d00e1eb7087604bca1b4 (diff)
downloadlinux-9401a795c6478953e10226471ba5990db5000e05.tar.xz
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>
Diffstat (limited to 'fs/ubifs/super.c')
0 files changed, 0 insertions, 0 deletions