Commit eb7a43c7 authored by Zhao Minmin's avatar Zhao Minmin Committed by Baokun Li
Browse files

ext4: report error to userspace by netlink

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8TNRU


CVE: NA

-------------------------------------------------

Implement the ext3/ext4 file system error report.

This patch is used to implement abnormal alarm of ext3/ext4 filesystem.
You can archieve this by setting "FILESYSTEM_MONITOR" or "FILESYSTEM_ALARM"
on in configuration file. With this setting, alarm will be raised when
ext3/ext4 file system expection occurs.

Signed-off-by: default avatarZhao Minmin <zhaominmin1@huawei.com>
Reviewed-by: default avatarYi Zhang <yi.zhang@huawei.com>
Link: http://hulk.huawei.com/pipermail/kernel.openeuler/2016-March/009711.html


Signed-off-by: default avatarWang Hui <john.wanghui@huawei.com>
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>

[yebin: cherry-pick this patch from openeuler, commit 6636f443]
conflicts :
fs/ext4/super.c
fs/ext4/ext4.h

Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>

Conflicts:
	fs/ext4/super.c

Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
parent 47634ecf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment