diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-04-09 15:58:35 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-04-27 23:52:23 +0200 |
commit | 2d6795fbb8c34ed5eb44db2a99960614424585f8 (patch) | |
tree | cd078e667f31a698946b2a042878e4a1bf447769 /mm/hmm.c | |
parent | 8ff2d290c8ce77c8e30d9b08c13d87cd5688d7e1 (diff) |
ceph: fix up some bare fetches of i_size
We need to use i_size_read(), which properly handles the torn read
case on 32-bit arches.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'mm/hmm.c')
0 files changed, 0 insertions, 0 deletions