From 4e6b8973282829e0d5898d9721880556957f0f98 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 27 Jan 2013 16:51:34 -0500 Subject: hostfs: directory methods have no business in non-directory inode_operations Signed-off-by: Al Viro --- fs/hostfs/hostfs_kern.c | 8 -------- 1 file changed, 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, }; -- cgit v1.2.3