]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ceph: don't zero i_wrbuffer_ref when reconnecting is denied
authorYan, Zheng <zyan@redhat.com>
Tue, 24 Mar 2015 07:49:36 +0000 (15:49 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 15:55:36 +0000 (18:55 +0300)
commita9f6eb61850e1599f9aa5141f25ccc1d8248e174
tree85f679a07a520e47301c88f9fcd0ff52979658b5
parent571ade336ac89f5db602f7df992152e4f4b945bc
ceph: don't zero i_wrbuffer_ref when reconnecting is denied

remove_session_caps_cb() does not truncate dirty data in page
cache, but zeros i_wrbuffer_ref/i_wrbuffer_ref_head. This will
result negtive i_wrbuffer_ref/i_wrbuffer_ref_head

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c