Whamcloud - gitweb
LU-9859 libcfs: use round_up directly 45/50545/4
authorJames Simmons <jsimmons@infradead.org>
Wed, 10 May 2023 13:15:34 +0000 (09:15 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 31 May 2023 19:12:10 +0000 (19:12 +0000)
commit20683c0d6c3e7d04293238d0a68e862c9bc46d40
tree961118790df602b7da9d6f4cc634c372b3f43b7b
parent0e6648940171c60cbaa295f54af1093232e66430
LU-9859 libcfs: use round_up directly

The macro cfs_size_round() is just round_up(val, 8). Replace
cfs_size_round() with the Linux standard round_up().

Change-Id: I5a5ba4e663672c0b0bba5c99be9e0bece2dc3c87
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50545
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
27 files changed:
contrib/scripts/spelling.txt
libcfs/include/libcfs/libcfs_private.h
libcfs/libcfs/module.c
lustre/include/cl_object.h
lustre/include/lustre_log.h
lustre/include/lustre_update.h
lustre/include/obj_update.h
lustre/llite/vvp_object.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_hsm.c
lustre/mgs/mgs_llog.c
lustre/obdclass/class_obd.c
lustre/obdclass/llog.c
lustre/obdclass/llog_ioctl.c
lustre/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_scrub.c
lustre/ptlrpc/batch.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c
lustre/target/out_handler.c
lustre/target/out_lib.c
lustre/target/update_records.c
lustre/target/update_trans.c