From: Xiubo Li <xiubli@xxxxxxxxxx> V3: - switch to use the kmem_cache_zalloc() to zero the memory. - rebase to the latest code in testing branch. V2: - allocate the capsnap memory ourside of ceph_queue_cap_snap() from Jeff's advice. - fix the code style and logs to make the logs to be more readable Xiubo Li (2): ceph: allocate capsnap memory outside of ceph_queue_cap_snap() ceph: misc fix for code style and logs fs/ceph/snap.c | 168 ++++++++++++++++++++++++++----------------------- 1 file changed, 90 insertions(+), 78 deletions(-) -- 2.27.0