linux-i-size-20090112

LICENSE IPL10
FIXES 124106

use i_size_read macro correctly
This commit is contained in:
Marc Dionne 2009-01-12 14:18:58 +00:00 committed by Derrick Brashear
parent 47ac8ba702
commit 45e8089456

View File

@ -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;