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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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