]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: split up __finish_cap_flush
authorJeff Layton <jlayton@kernel.org>
Wed, 18 Mar 2020 19:29:34 +0000 (15:29 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 1 Jun 2020 11:22:52 +0000 (13:22 +0200)
commitcde63a876933338738f01f3d8e44ef5009129fea
tree1923fb976f30f46bca986cb07e2c1e597d8c53d9
parent25e6537f90d59baa7befc49e0aee3d3914be1e87
ceph: split up __finish_cap_flush

This function takes a mdsc argument or ci argument, but if both are
passed in, it ignores the ci arg. Fortunately, nothing does that, but
there's no good reason to have the same function handle both cases.

Also, get rid of some branches and just use |= to set the wake_* vals.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c