patch-2.4.18 linux/fs/freevxfs/vxfs_lookup.c
Next file: linux/fs/freevxfs/vxfs_olt.c
Previous file: linux/fs/freevxfs/vxfs_kcompat.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Mon Feb 4 19:16:43 2002
- Orig file:
linux.orig/fs/freevxfs/vxfs_lookup.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/freevxfs/vxfs_lookup.c linux/fs/freevxfs/vxfs_lookup.c
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
-#ident "$Id: vxfs_lookup.c,v 1.19 2001/05/30 19:50:20 hch Exp hch $"
+#ident "$Id: vxfs_lookup.c,v 1.21 2002/01/02 22:00:13 hch Exp hch $"
/*
* Veritas filesystem driver - lookup and other directory related code.
@@ -126,7 +126,7 @@
caddr_t kaddr;
struct page *pp;
- pp = vxfs_get_page(ip, page);
+ pp = vxfs_get_page(ip->i_mapping, page);
if (IS_ERR(pp))
continue;
kaddr = (caddr_t)page_address(pp);
@@ -273,7 +273,7 @@
caddr_t kaddr;
struct page *pp;
- pp = vxfs_get_page(ip, page);
+ pp = vxfs_get_page(ip->i_mapping, page);
if (IS_ERR(pp))
continue;
kaddr = (caddr_t)page_address(pp);
@@ -318,6 +318,5 @@
done:
fp->f_pos = ((page << PAGE_CACHE_SHIFT) | offset) + 2;
out:
- fp->f_version = ip->i_version;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)