aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/hostfs/hostfs_kern.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 4684eb7d48c6..3aac164c7726 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -910,10 +910,8 @@ static struct inode_operations hostfs_dir_iops = {
910int hostfs_link_readpage(struct file *file, struct page *page) 910int hostfs_link_readpage(struct file *file, struct page *page)
911{ 911{
912 char *buffer, *name; 912 char *buffer, *name;
913 long long start;
914 int err; 913 int err;
915 914
916 start = page->index << PAGE_CACHE_SHIFT;
917 buffer = kmap(page); 915 buffer = kmap(page);
918 name = inode_name(page->mapping->host, 0); 916 name = inode_name(page->mapping->host, 0);
919 if(name == NULL) return(-ENOMEM); 917 if(name == NULL) return(-ENOMEM);