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

lsm: fix typo in security_file_lock() comment header

In the description of function definition security_file_lock(),
the line "@cmd: fnctl command" has a typo where "fnctl" should be
"fcntl". This patch fixes the typo.

Signed-off-by: Pairman Guo <pairmanxlr@gmail.com>
[PM: commit message cleanup]
Signed-off-by: Paul Moore <paul@paul-moore.com>

authored by

Pairman Guo and committed by
Paul Moore
ff72942c 06c2afb8

+1 -1
+1 -1
security/security.c
··· 2717 2717 /** 2718 2718 * security_file_fcntl() - Check if fcntl() op is allowed 2719 2719 * @file: file 2720 - * @cmd: fnctl command 2720 + * @cmd: fcntl command 2721 2721 * @arg: command argument 2722 2722 * 2723 2723 * Check permission before allowing the file operation specified by @cmd from