]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f572e3087c6c2b6e93bab5ae3171db1e5084416
treecb8fa121673316816cfbfde5f0e0bc101ce5850d
parent7ad580d5bf404ca035bd02162a75b79b911c9c9f
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