From: Marc Dionne Date: Fri, 20 Nov 2009 22:27:20 +0000 (-0500) Subject: Linux: hinting removal fallout X-Git-Tag: openafs-devel-1_5_67~24 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=85fd4e86af2a6c8a1742774ea4126b8a7b919f3c;p=packages%2Fo%2Fopenafs.git Linux: hinting removal fallout The removal of the hinting missed a few things - the prototype to afs_linux_raw_open needs to be changed, as well as a few additional call sites. Change-Id: I006540cee574bca7155d9209c2d9b6702c4f6c94 Reviewed-on: http://gerrit.openafs.org/864 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear --- diff --git a/src/afs/LINUX/osi_prototypes.h b/src/afs/LINUX/osi_prototypes.h index a9b9b8993..7c4ece92e 100644 --- a/src/afs/LINUX/osi_prototypes.h +++ b/src/afs/LINUX/osi_prototypes.h @@ -38,7 +38,7 @@ extern afs_rwlock_t afs_xnfssrv; extern afs_rwlock_t afs_xosi; extern int osi_InitCacheInfo(char *aname); extern int osi_rdwr(struct osi_file *osifile, uio_t * uiop, int rw); -extern struct file *afs_linux_raw_open(afs_dcache_id_t *ainode, ino_t *hint); +extern struct file *afs_linux_raw_open(afs_dcache_id_t *ainode); /* osi_ioctl.c */ extern void osi_ioctl_init(void); diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 52000a244..1be9a70d7 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1559,7 +1559,7 @@ afs_linux_readpage_fastpath(struct file *fp, struct page *pp, int *codep) /* XXX - I suspect we should be locking the inodes before we use them! */ AFS_GUNLOCK(); - cacheFp = afs_linux_raw_open(&tdc->f.inode, NULL); + cacheFp = afs_linux_raw_open(&tdc->f.inode); pagevec_init(&lrupv, 0); code = afs_linux_read_cache(cacheFp, pp, tdc->f.chunk, &lrupv, NULL); @@ -1956,7 +1956,7 @@ afs_linux_readpages(struct file *fp, struct address_space *mapping, } AFS_GUNLOCK(); if (tdc) - cacheFp = afs_linux_raw_open(&tdc->f.inode, NULL); + cacheFp = afs_linux_raw_open(&tdc->f.inode); } if (tdc && !add_to_page_cache(page, mapping, page->index,