summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-08-30 05:36:06 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-09-06 19:56:55 +0200
commit1f934b00e907527cddb83984d0783cc4a029952a (patch)
tree3e1f89e89c990448a8dd84d7d00e743d84902679 /net
parentceph: remove stale check in ceph_invalidatepage() (diff)
downloadlinux-1f934b00e907527cddb83984d0783cc4a029952a.tar.xz
linux-1f934b00e907527cddb83984d0783cc4a029952a.zip
ceph: properly get capsnap's size in get_oldest_context()
capsnap's size is set by __ceph_finish_cap_snap(). If capsnap is under writing, its size is zero. In this case, get_oldest_context() should read i_size. Besides, ceph_writepages_start() should re-check capsnap's size after dirty pages get locked. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions