summaryrefslogtreecommitdiffstats
path: root/fs/logfs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-18 20:17:22 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-06-20 10:44:26 -0400
commita63ab94d67879bc0630ea9821c582ddf58ba5527 (patch)
tree006f1cfb1262e256cc8af1d5f51bea92247f5e58 /fs/logfs/dir.c
parent6b419951f1e44c8a46fccfc6551eca9a9980acd6 (diff)
downloadblackbird-op-linux-a63ab94d67879bc0630ea9821c582ddf58ba5527.tar.gz
blackbird-op-linux-a63ab94d67879bc0630ea9821c582ddf58ba5527.zip
logfs doesn't need ->permission() at all
... and never did, what with its ->permission() being what we do by default when ->permission is NULL... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/logfs/dir.c')
-rw-r--r--fs/logfs/dir.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c
index 9ed89d1663f8..1afae26cf236 100644
--- a/fs/logfs/dir.c
+++ b/fs/logfs/dir.c
@@ -555,13 +555,6 @@ static int logfs_symlink(struct inode *dir, struct dentry *dentry,
return __logfs_create(dir, dentry, inode, target, destlen);
}
-static int logfs_permission(struct inode *inode, int mask, unsigned int flags)
-{
- if (flags & IPERM_FLAG_RCU)
- return -ECHILD;
- return generic_permission(inode, mask, flags, NULL);
-}
-
static int logfs_link(struct dentry *old_dentry, struct inode *dir,
struct dentry *dentry)
{
@@ -820,7 +813,6 @@ const struct inode_operations logfs_dir_iops = {
.mknod = logfs_mknod,
.rename = logfs_rename,
.rmdir = logfs_rmdir,
- .permission = logfs_permission,
.symlink = logfs_symlink,
.unlink = logfs_unlink,
};
OpenPOWER on IntegriCloud