aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorStefan Schaeckeler <schaecsn@gmx.net>2021-10-09 21:22:39 -0700
committerRichard Weinberger <richard@nod.at>2021-12-23 20:23:42 +0100
commit2e3cbf425804fb44a005e252f88f93dff108c911 (patch)
treee8834e956a27afa66eef1dc7faaa4136836b1057 /scripts/gdb/linux/utils.py
parentubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers (diff)
downloadwireguard-linux-2e3cbf425804fb44a005e252f88f93dff108c911.tar.xz
wireguard-linux-2e3cbf425804fb44a005e252f88f93dff108c911.zip
ubifs: Export filesystem error counters
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions