aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-27 16:51:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-22 23:31:37 -0500
commit4e6b8973282829e0d5898d9721880556957f0f98 (patch)
treebb22e255feef55fea6082fb50b5ad8c310516aad
parent78c3e4732f68bfaaa1e27d36135baa3088bcfdde (diff)
downloadlinux-linaro-stable-4e6b8973282829e0d5898d9721880556957f0f98.tar.gz
hostfs: directory methods have no business in non-directory inode_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/hostfs/hostfs_kern.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index ba6de25771ac..fbabb906066f 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -861,14 +861,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr *attr)
}
static const struct inode_operations hostfs_iops = {
- .create = hostfs_create,
- .link = hostfs_link,
- .unlink = hostfs_unlink,
- .symlink = hostfs_symlink,
- .mkdir = hostfs_mkdir,
- .rmdir = hostfs_rmdir,
- .mknod = hostfs_mknod,
- .rename = hostfs_rename,
.permission = hostfs_permission,
.setattr = hostfs_setattr,
};