]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/security.c
Don't ask twice about not including staging drivers
[linux-2.6-omap-h63xx.git] / fs / afs / security.c
index 9446a1fd108a35452579df735f4877f6ad992a6f..3ef504370034c2311fdd50f631856ac95ab76903 100644 (file)
@@ -284,10 +284,10 @@ static int afs_check_permit(struct afs_vnode *vnode, struct key *key,
  * - AFS ACLs are attached to directories only, and a file is controlled by its
  *   parent directory's ACL
  */
-int afs_permission(struct inode *inode, int mask, struct nameidata *nd)
+int afs_permission(struct inode *inode, int mask)
 {
        struct afs_vnode *vnode = AFS_FS_I(inode);
-       afs_access_t access;
+       afs_access_t uninitialized_var(access);
        struct key *key;
        int ret;