lsm: fix typo in security_file_lock() comment header
authorPairman Guo <pairmanxlr@gmail.com>
Sun, 2 Jul 2023 17:08:57 +0000 (01:08 +0800)
committerPaul Moore <paul@paul-moore.com>
Mon, 10 Jul 2023 17:59:37 +0000 (13:59 -0400)
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>
security/security.c

index b720424..adaa704 100644 (file)
@@ -2717,7 +2717,7 @@ int security_file_lock(struct file *file, unsigned int cmd)
 /**
  * security_file_fcntl() - Check if fcntl() op is allowed
  * @file: file
- * @cmd: fnctl command
+ * @cmd: fcntl command
  * @arg: command argument
  *
  * Check permission before allowing the file operation specified by @cmd from