commit | 2d6795fbb8c34ed5eb44db2a99960614424585f8 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Fri Apr 09 15:58:35 2021 -0400 |
committer | Ilya Dryomov <idryomov@gmail.com> | Tue Apr 27 23:52:23 2021 +0200 |
tree | cd078e667f31a698946b2a042878e4a1bf447769 | |
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>