mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
2e3cbf4258
Not all ubifs filesystem errors are propagated to userspace. Export bad magic, bad node and crc errors via sysfs. This allows userspace to notice filesystem errors: /sys/fs/ubifs/ubiX_Y/errors_magic /sys/fs/ubifs/ubiX_Y/errors_node /sys/fs/ubifs/ubiX_Y/errors_crc The counters are reset to 0 with a remount. Signed-off-by: Stefan Schaeckeler <sschaeck@cisco.com> Signed-off-by: Richard Weinberger <richard@nod.at>
12 lines
492 B
Makefile
12 lines
492 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_UBIFS_FS) += ubifs.o
|
|
|
|
ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o
|
|
ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o
|
|
ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o
|
|
ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o debug.o
|
|
ubifs-y += misc.o sysfs.o
|
|
ubifs-$(CONFIG_FS_ENCRYPTION) += crypto.o
|
|
ubifs-$(CONFIG_UBIFS_FS_XATTR) += xattr.o
|
|
ubifs-$(CONFIG_UBIFS_FS_AUTHENTICATION) += auth.o
|