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

Configure Feed

Select the types of activity you want to include in your feed.

fanotify: Fix spelling mistake "enforecement" -> "enforcement"

There is a spelling mistake in a comment. Fix it.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Link: https://patch.msgid.link/20260418-fanotify-typo-v1-1-03ea48cb44ba@ethancedwards.com
Signed-off-by: Jan Kara <jack@suse.cz>

authored by

Ethan Carter Edwards and committed by
Jan Kara
ae974ca6 7746e3bd

+1 -1
+1 -1
fs/notify/fanotify/fanotify.c
··· 457 457 /* 458 458 * Unlike file_handle, type and len of struct fanotify_fh are u8. 459 459 * Traditionally, filesystem return handle_type < 0xff, but there 460 - * is no enforecement for that in vfs. 460 + * is no enforcement for that in vfs. 461 461 */ 462 462 BUILD_BUG_ON(MAX_HANDLE_SZ > 0xff || FILEID_INVALID > 0xff); 463 463 if (type <= 0 || type >= FILEID_INVALID || fh_len != dwords << 2)