diff options
| author | Miklos Szeredi <[email protected]> | 2008-07-01 21:07:54 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-07-27 00:53:07 +0000 |
| commit | 7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34 (patch) | |
| tree | c882be6f679aca92ae8e5cb9b94aedf45e811aa2 /fs/hppfs/hppfs.c | |
| parent | [PATCH] reuse xxx_fifo_fops for xxx_pipe_fops (diff) | |
| download | kernel-7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34.tar.gz kernel-7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34.zip | |
[patch] hppfs: remove hppfs_permission
hppfs_permission() is equivalent to the '.permission == NULL' case.
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/hppfs/hppfs.c')
| -rw-r--r-- | fs/hppfs/hppfs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 65077aa90f0a..2b3d1828db99 100644 --- a/fs/hppfs/hppfs.c +++ b/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) |
