ceph: fix wake_up_session_cb()
authorYan, Zheng <zyan@redhat.com>
Thu, 19 May 2016 11:15:19 +0000 (19:15 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:42 +0000 (01:15 +0200)
commite536030934aebf049fe6aaebc58dd37aeee21840
treecb8fa121673316816cfbfde5f0e0bc101ce5850d
parent9abd4db713704aac146395e079224ddd716e9b95
ceph: fix wake_up_session_cb()

We should reset i_requested_max_size before waking the waiters.
(zero i_requested_max_size make waiter re-request the max size)

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