From: Miklos Szeredi Currently hostfs_getattr() just defines the default behavior. Signed-off-by: Miklos Szeredi --- Index: linux/fs/hostfs/hostfs_kern.c =================================================================== --- linux.orig/fs/hostfs/hostfs_kern.c 2007-08-09 11:01:55.000000000 +0200 +++ linux/fs/hostfs/hostfs_kern.c 2007-08-09 11:04:35.000000000 +0200 @@ -874,13 +874,6 @@ int hostfs_setattr(struct dentry *dentry return inode_setattr(dentry->d_inode, attr); } -int hostfs_getattr(struct vfsmount *mnt, struct dentry *dentry, - struct kstat *stat) -{ - generic_fillattr(dentry->d_inode, stat); - return 0; -} - static const struct inode_operations hostfs_iops = { .create = hostfs_create, .link = hostfs_link, @@ -892,7 +885,6 @@ static const struct inode_operations hos .rename = hostfs_rename, .permission = hostfs_permission, .setattr = hostfs_setattr, - .getattr = hostfs_getattr, }; static const struct inode_operations hostfs_dir_iops = { @@ -907,7 +899,6 @@ static const struct inode_operations hos .rename = hostfs_rename, .permission = hostfs_permission, .setattr = hostfs_setattr, - .getattr = hostfs_getattr, }; int hostfs_link_readpage(struct file *file, struct page *page) -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/