From b1dc2522fc2f3dd33e3d2be0af30a665ac5cd994 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 1 Jul 2008 23:07:54 +0200 Subject: [PATCH] --- yaml --- r: 106349 b: refs/heads/master c: 7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34 h: refs/heads/master i: 106347: 55cfde4b21f6c617a2e2ef58b25a2f7faef0dfb2 v: v3 --- [refs] | 2 +- trunk/fs/hppfs/hppfs.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/[refs] b/[refs] index ffa65ca76a36..3aef8a77d39c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d2d9648ec6858e19d16a0b16da62534e85888653 +refs/heads/master: 7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34 diff --git a/trunk/fs/hppfs/hppfs.c b/trunk/fs/hppfs/hppfs.c index 65077aa90f0a..2b3d1828db99 100644 --- a/trunk/fs/hppfs/hppfs.c +++ b/trunk/fs/hppfs/hppfs.c @@ -655,20 +655,13 @@ static void *hppfs_follow_link(struct dentry *dentry, struct nameidata *nd) return proc_dentry->d_inode->i_op->follow_link(proc_dentry, nd); } -int hppfs_permission(struct inode *inode, int mask, struct nameidata *nd) -{ - return generic_permission(inode, mask, NULL); -} - static const struct inode_operations hppfs_dir_iops = { .lookup = hppfs_lookup, - .permission = hppfs_permission, }; static const struct inode_operations hppfs_link_iops = { .readlink = hppfs_readlink, .follow_link = hppfs_follow_link, - .permission = hppfs_permission, }; static struct inode *get_inode(struct super_block *sb, struct dentry *dentry)