]> err.no Git - linux-2.6/blobdiff - fs/freevxfs/vxfs_immed.c
[libata] ahci: Add NVIDIA PCI IDs.
[linux-2.6] / fs / freevxfs / vxfs_immed.c
index d0401dc68d41306cef3781de18e9ac18ef7ad306..6f5df1700e9506b230d973ec0b88b546bd98805b 100644 (file)
@@ -99,8 +99,8 @@ static int
 vxfs_immed_readpage(struct file *fp, struct page *pp)
 {
        struct vxfs_inode_info  *vip = VXFS_INO(pp->mapping->host);
-       u_int64_t               offset = pp->index << PAGE_CACHE_SHIFT;
-       caddr_t                 kaddr;
+       u_int64_t       offset = (u_int64_t)pp->index << PAGE_CACHE_SHIFT;
+       caddr_t         kaddr;
 
        kaddr = kmap(pp);
        memcpy(kaddr, vip->vii_immed.vi_immed + offset, PAGE_CACHE_SIZE);