mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
samples: Add fs error monitoring example
Introduce an example of a FAN_FS_ERROR fanotify user to track filesystem errors. Link: https://lore.kernel.org/r/20211025192746.66445-31-krisman@collabora.com Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
committed by
Jan Kara
parent
9a089b21f7
commit
5451093081
@@ -120,6 +120,15 @@ config SAMPLE_CONNECTOR
|
||||
with it.
|
||||
See also Documentation/driver-api/connector.rst
|
||||
|
||||
config SAMPLE_FANOTIFY_ERROR
|
||||
bool "Build fanotify error monitoring sample"
|
||||
depends on FANOTIFY
|
||||
help
|
||||
When enabled, this builds an example code that uses the
|
||||
FAN_FS_ERROR fanotify mechanism to monitor filesystem
|
||||
errors.
|
||||
See also Documentation/admin-guide/filesystem-monitoring.rst.
|
||||
|
||||
config SAMPLE_HIDRAW
|
||||
bool "hidraw sample"
|
||||
depends on CC_CAN_LINK && HEADERS_INSTALL
|
||||
|
||||
Reference in New Issue
Block a user