diff options
Diffstat (limited to 'fs/hostfs')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 8a21289d774d..39b0cdcc94d0 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
@@ -872,13 +872,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr *attr) | |||
872 | return inode_setattr(dentry->d_inode, attr); | 872 | return inode_setattr(dentry->d_inode, attr); |
873 | } | 873 | } |
874 | 874 | ||
875 | int hostfs_getattr(struct vfsmount *mnt, struct dentry *dentry, | ||
876 | struct kstat *stat) | ||
877 | { | ||
878 | generic_fillattr(dentry->d_inode, stat); | ||
879 | return 0; | ||
880 | } | ||
881 | |||
882 | static const struct inode_operations hostfs_iops = { | 875 | static const struct inode_operations hostfs_iops = { |
883 | .create = hostfs_create, | 876 | .create = hostfs_create, |
884 | .link = hostfs_link, | 877 | .link = hostfs_link, |
@@ -890,7 +883,6 @@ static const struct inode_operations hostfs_iops = { | |||
890 | .rename = hostfs_rename, | 883 | .rename = hostfs_rename, |
891 | .permission = hostfs_permission, | 884 | .permission = hostfs_permission, |
892 | .setattr = hostfs_setattr, | 885 | .setattr = hostfs_setattr, |
893 | .getattr = hostfs_getattr, | ||
894 | }; | 886 | }; |
895 | 887 | ||
896 | static const struct inode_operations hostfs_dir_iops = { | 888 | static const struct inode_operations hostfs_dir_iops = { |
@@ -905,7 +897,6 @@ static const struct inode_operations hostfs_dir_iops = { | |||
905 | .rename = hostfs_rename, | 897 | .rename = hostfs_rename, |
906 | .permission = hostfs_permission, | 898 | .permission = hostfs_permission, |
907 | .setattr = hostfs_setattr, | 899 | .setattr = hostfs_setattr, |
908 | .getattr = hostfs_getattr, | ||
909 | }; | 900 | }; |
910 | 901 | ||
911 | int hostfs_link_readpage(struct file *file, struct page *page) | 902 | int hostfs_link_readpage(struct file *file, struct page *page) |