git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
47ac8ba
)
linux-i-size-20090112
author
Marc Dionne
<marc.c.dionne@gmail.com>
Mon, 12 Jan 2009 14:18:58 +0000 (14:18 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 12 Jan 2009 14:18:58 +0000 (14:18 +0000)
LICENSE IPL10
FIXES 124106
use i_size_read macro correctly
src/afs/LINUX/osi_file.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_file.c
b/src/afs/LINUX/osi_file.c
index
f138981
..
6a881cd
100644
(file)
--- 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;