Jonathan Davies d578b99443 ext4: notify sysfs on errors_count value change
After s_error_count is incremented, signal the change in the
corresponding sysfs attribute via sysfs_notify. This allows userspace to
poll() on changes to /sys/fs/ext4/*/errors_count.

[ Moved call of ext4_notify_error_sysfs() to flush_stashed_error_work()
  to avoid BUG's caused by calling sysfs_notify trying to sleep after
  being called from an invalid context. -- TYT ]

Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com>
Link: https://lore.kernel.org/r/20210611140209.28903-1-jonathan.davies@nutanix.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2021-06-29 21:06:02 -04:00
..
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-04-09 23:24:52 -04:00
2021-04-05 22:04:20 -04:00
2021-04-09 23:14:59 -04:00
2021-04-09 23:14:59 -04:00
2021-04-09 23:14:59 -04:00
2021-06-17 10:53:19 -04:00
2021-06-22 21:34:17 -04:00
2021-02-26 15:49:51 -07:00
2021-01-24 14:27:17 +01:00
2021-01-24 14:27:17 +01:00
2021-01-24 14:27:17 +01:00
2021-01-24 14:27:17 +01:00