From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] fs: fix fs/namei.c kernel-doc warnings Date: Sat, 18 Aug 2012 17:39:25 -0700 Message-ID: <503035BD.5070605@xenotime.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org, Al Viro Return-path: Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:43643 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751134Ab2HSAj0 (ORCPT ); Sat, 18 Aug 2012 20:39:26 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Randy Dunlap Fix kernel-doc warnings in fs/namei.c: Warning(fs/namei.c:360): No description found for parameter 'inode' Warning(fs/namei.c:672): No description found for parameter 'nd' Signed-off-by: Randy Dunlap Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org --- fs/namei.c | 2 ++ 1 file changed, 2 insertions(+) --- lnx-36-rc2.orig/fs/namei.c +++ lnx-36-rc2/fs/namei.c @@ -352,6 +352,7 @@ int __inode_permission(struct inode *ino /** * sb_permission - Check superblock-level permissions * @sb: Superblock of inode to check permission on + * @inode: Inode to check permission on * @mask: Right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC) * * Separate out file-system wide checks from inode-specific permission checks. @@ -656,6 +657,7 @@ int sysctl_protected_hardlinks __read_mo /** * may_follow_link - Check symlink following for unsafe situations * @link: The path of the symlink + * @nd: nameidata pathwalk data * * In the case of the sysctl_protected_symlinks sysctl being enabled, * CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is