projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: remove the i_size field in struct xfs_inode
[deliverable/linux.git]
/
fs
/
xfs
/
xfs_aops.c
diff --git
a/fs/xfs/xfs_aops.c
b/fs/xfs/xfs_aops.c
index 574d4ee9b6253ea3d589f23288aa7385907642bb..4d27ea117e0ece3d5b34e20a884002fafda8c8e9 100644
(file)
--- a/
fs/xfs/xfs_aops.c
+++ b/
fs/xfs/xfs_aops.c
@@
-111,7
+111,7
@@
xfs_ioend_new_eof(
xfs_fsize_t bsize;
bsize = ioend->io_offset + ioend->io_size;
- isize = MAX(i
p->i_size
, ip->i_new_size);
+ isize = MAX(i
_size_read(VFS_I(ip))
, ip->i_new_size);
isize = MIN(isize, bsize);
return isize > ip->i_d.di_size ? isize : 0;
}
This page took
0.026146 seconds
and
5
git commands to generate.