hostfs: directory methods have no business in non-directory inode_operations
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jan 2013 21:51:34 +0000 (16:51 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Feb 2013 04:31:37 +0000 (23:31 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hostfs/hostfs_kern.c

index ba6de25771ac09e1099dfd73fb8229e5aaeb3148..fbabb906066fa4756c846e6c6e6e577f00f1b6ed 100644 (file)
@@ -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,
 };
This page took 0.025465 seconds and 5 git commands to generate.