Skip to content
Snippets Groups Projects
Commit 2e52eb74 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

ubifs: Rework ubifs_assert()


With having access to struct ubifs_info in ubifs_assert() we can
give more information when an assert is failing.
By using ubifs_err() we can tell which UBIFS instance failed.

Also multiple actions can be taken now.
We support:
 - report: This is what UBIFS did so far, just report the failure and go
   on.
 - read-only: Switch to read-only mode.
 - panic: shoot the kernel in the head.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 6eb61d58
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment