diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-12-30 04:32:46 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-01-21 19:36:08 +0100 |
commit | 99c88e6900fb05d267ae9f6d5e15dc7192ba6f8d (patch) | |
tree | 025263471172932f2c0b332979cf56c60ae836db /net | |
parent | ceph: re-send AIO write request when getting -EOLDSNAP error (diff) | |
download | linux-99c88e6900fb05d267ae9f6d5e15dc7192ba6f8d.tar.xz linux-99c88e6900fb05d267ae9f6d5e15dc7192ba6f8d.zip |
ceph: use i_size_{read,write} to get/set i_size
Cap message from MDS can update i_size. In that case, we don't
hold i_mutex. So it's unsafe to directly access inode->i_size
while holding i_mutex.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions