mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
linux-i-size-20090112
LICENSE IPL10 FIXES 124106 use i_size_read macro correctly
This commit is contained in:
parent
47ac8ba702
commit
45e8089456
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user