diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2021-06-28 19:33:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-29 10:53:46 -0700 |
commit | 10dde05b89980ef147f590d2735d7dd53aa39c88 (patch) | |
tree | 2724162f69cba85fc4ee0c2a13a9b087dd1d6d0a /fs/ocfs2 | |
parent | d98e4d95411bbde2220a7afa38dcc9c14d71acbe (diff) | |
download | linux-stable-10dde05b89980ef147f590d2735d7dd53aa39c88.tar.gz linux-stable-10dde05b89980ef147f590d2735d7dd53aa39c88.tar.bz2 linux-stable-10dde05b89980ef147f590d2735d7dd53aa39c88.zip |
squashfs: add option to panic on errors
Add an errors=panic mount option to make squashfs trigger a panic when
errors are encountered, similar to several other filesystems. This allows
a kernel dump to be saved using which the corruption can be analysed and
debugged.
Inspired by a pre-fs_context patch by Anton Eliasson.
Link: https://lkml.kernel.org/r/20210527125019.14511-1-vincent.whitchurch@axis.com
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions