libceph: introduce ceph_pagelist_alloc()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 28 Sep 2018 13:38:34 +0000 (15:38 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 08:28:21 +0000 (10:28 +0200)
commit33165d472310262d8c79c7e4d1a17dc60cea7e35
treebf498d59251d10a2f8c603ef28200d7d42d6bee4
parent24639ce56040a8ea890ad8836068c1ad8bd177c7
libceph: introduce ceph_pagelist_alloc()

struct ceph_pagelist cannot be embedded into anything else because it
has its own refcount.  Merge allocation and initialization together.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/acl.c
fs/ceph/mds_client.c
fs/ceph/xattr.c
include/linux/ceph/pagelist.h
net/ceph/osd_client.c
net/ceph/pagelist.c