Commit ff72942c authored by Pairman Guo's avatar Pairman Guo Committed by Paul Moore

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: default avatarPairman Guo <pairmanxlr@gmail.com>
[PM: commit message cleanup]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 06c2afb8
...@@ -2717,7 +2717,7 @@ int security_file_lock(struct file *file, unsigned int cmd) ...@@ -2717,7 +2717,7 @@ int security_file_lock(struct file *file, unsigned int cmd)
/** /**
* security_file_fcntl() - Check if fcntl() op is allowed * security_file_fcntl() - Check if fcntl() op is allowed
* @file: file * @file: file
* @cmd: fnctl command * @cmd: fcntl command
* @arg: command argument * @arg: command argument
* *
* Check permission before allowing the file operation specified by @cmd from * Check permission before allowing the file operation specified by @cmd from
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment