ceph: clean up inode work queueing
authorJeff Layton <jlayton@kernel.org>
Fri, 9 Oct 2020 18:24:34 +0000 (14:24 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 16 Feb 2021 11:09:51 +0000 (12:09 +0100)
commit64f28c627a27abb053561275bf94fbcc78e66198
tree23b8cae11ad12c1e870736113dc40ecfaa30ffef
parent64f36da5625f7f9853b86750eaa89d499d16a2e9
ceph: clean up inode work queueing

Add a generic function for taking an inode reference, setting the I_WORK
bit and queueing i_work. Turn the ceph_queue_* functions into static
inline wrappers that pass in the right bit.

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