Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92736294 authored by Taesoo Kim's avatar Taesoo Kim Committed by Matt Wagantall
Browse files

UBIFS: fix incorrect unlocking handling



When ubifs_init_security() fails, 'ui_mutex' is incorrectly
unlocked and incorrectly restores 'i_size'. Fix this.

Change-Id: I955737002aa4e8e544b4d8a67f7f8cd31e28acb1
Signed-off-by: default avatarTaesoo Kim <tsgatesv@gmail.com>
Fixes: d7f0b70d30ff ("UBIFS: Add security.* XATTR support for the UBIFS")
Reviewed-by: default avatarBen Shelton <ben.shelton@ni.com>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Git-commit: 9401a795c6478953e10226471ba5990db5000e05
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 13b99a87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment