Subject: [PATCH] security: capability.c remove nameidata argument

From: Harvey Harrison <[email-masked]>
Date: Fri, 18 Jul 2008 11:20:56 -0700

In next-20080718
security/capability.c:865:2: warning: incorrect type in assignment (different argument counts)
security/capability.c:865:2:    expected int ( *inode_permission )( ... )
security/capability.c:865:2:    got int ( static [toplevel] *<noident> )( ... )

Signed-off-by: Harvey Harrison <[email-masked]>
---
 security/capability.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/security/capability.c b/security/capability.c
index 5b01c0b..63d10da 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -211,8 +211,7 @@ static int cap_inode_follow_link(struct dentry *dentry,
 	return 0;
 }
 
-static int cap_inode_permission(struct inode *inode, int mask,
-				struct nameidata *nd)
+static int cap_inode_permission(struct inode *inode, int mask)
 {
 	return 0;
 }
-- 
1.5.6.3.569.ga9185