Skip to content

Commit

Permalink
hostfs: directory methods have no business in non-directory inode_ope…
Browse files Browse the repository at this point in the history
…rations

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Feb 23, 2013
1 parent 78c3e47 commit 4e6b897
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 4e6b897

Please sign in to comment.