UBIFS Dump Stack on Android
Han Xu
xhnjupt at gmail.com
Thu Mar 3 18:21:09 PST 2016
Hi Richard,
We found an issue on Kernel 4.1 when running Android on UBIFS. Android
required to enable SELINUX and exposed the issue, one ubifs_assert()
function failed and caused dump stack.
--- a/fs/ubifs/xattr.c
+++ b/fs/ubifs/xattr.c
@@ -309,7 +309,6 @@ static int setxattr(struct inode *host, const char
*name, const void *value,
union ubifs_key key;
int err, type;
ubifs_assert(mutex_is_locked(&host->i_mutex));
It may related to your recent code change
UBIFS: Kill unneeded locking in ubifs_init_security
We also noticed Google maintained Kernel 4.1 AOSP didn't cherry-pick
the patch either. Could you please help to check this issue, Thanks.
More information about the linux-mtd
mailing list