From: Pairman Guo Date: Sun, 2 Jul 2023 17:08:57 +0000 (+0800) Subject: lsm: fix typo in security_file_lock() comment header X-Git-Tag: v6.6.7~2064^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff72942caa586f2c0a81e2fbae2e8ea5e131d38f;p=platform%2Fkernel%2Flinux-starfive.git 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 [PM: commit message cleanup] Signed-off-by: Paul Moore --- diff --git a/security/security.c b/security/security.c index b720424..adaa704 100644 --- a/security/security.c +++ b/security/security.c @@ -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