From 45e808945627b36ab1dbb64b6fafa8ed7b1901b6 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Mon, 12 Jan 2009 14:18:58 +0000 Subject: [PATCH] linux-i-size-20090112 LICENSE IPL10 FIXES 124106 use i_size_read macro correctly --- src/afs/LINUX/osi_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_file.c b/src/afs/LINUX/osi_file.c index f138981f8b..6a881cd729 100644 --- a/src/afs/LINUX/osi_file.c +++ b/src/afs/LINUX/osi_file.c @@ -95,7 +95,7 @@ osi_UFSOpen(afs_int32 ainode) osi_Panic("Can't open inode %d\n", ainode); #endif afile->filp = filp; - afile->size = i_size_read(FILE_INODE(filp)->i_size); + afile->size = i_size_read(FILE_INODE(filp)); AFS_GLOCK(); afile->offset = 0; afile->proc = (int (*)())0;