Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: Fix formatting of literal sections in fanotify docs

Stephen Rothwell reported the following warning was introduced by commit
c0baf9ac0b05 ("docs: Document the FAN_FS_ERROR event").

Documentation/admin-guide/filesystem-monitoring.rst:60: WARNING:
Definition list ends without a blank line; unexpected unindent.

Link: https://lore.kernel.org/r/87y26camhe.fsf@collabora.com
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>

authored by

Gabriel Krisman Bertazi and committed by
Jan Kara
9abeae5d 8fc70b3a

+12 -8
+12 -8
Documentation/admin-guide/filesystem-monitoring.rst
··· 35 35 36 36 A FAN_FS_ERROR Notification has the following format:: 37 37 38 - [ Notification Metadata (Mandatory) ] 39 - [ Generic Error Record (Mandatory) ] 40 - [ FID record (Mandatory) ] 38 + :: 39 + 40 + [ Notification Metadata (Mandatory) ] 41 + [ Generic Error Record (Mandatory) ] 42 + [ FID record (Mandatory) ] 41 43 42 44 The order of records is not guaranteed, and new records might be added 43 45 in the future. Therefore, applications must not rely on the order and ··· 55 53 identified by ``struct fanotify_event_info_header.info_type`` being set 56 54 to FAN_EVENT_INFO_TYPE_ERROR. 57 55 58 - struct fanotify_event_info_error { 59 - struct fanotify_event_info_header hdr; 60 - __s32 error; 61 - __u32 error_count; 62 - }; 56 + :: 57 + 58 + struct fanotify_event_info_error { 59 + struct fanotify_event_info_header hdr; 60 + __s32 error; 61 + __u32 error_count; 62 + }; 63 63 64 64 The `error` field identifies the type of error using errno values. 65 65 `error_count` tracks the number of errors that occurred and were