Whamcloud - gitweb
LU-6142 lustre: change various operations structs to const 00/39400/3
authorMr NeilBrown <neilb@suse.de>
Thu, 16 Jul 2020 04:56:38 +0000 (14:56 +1000)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:42:20 +0000 (21:42 +0000)
commitc20b866ba374ea38237f0e0c8f5b1bc9bb370985
tree95fba95a39a19177aa7fb25b006a86610ffe4188
parent68cd9825d5a428af7ba38dcb6e1357af514a7fa3
LU-6142 lustre: change various operations structs to const

Nearly all of
  struct cl_io_operations
  struct cl_lock_operations
  struct iam_operations
  struct iam_leaf_operations
  struct llog_operations
  struct lquota_entry_operations
  struct md_dir_operations

are now const.  The one exception is changelog_orig_logops.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I91dc9528b62a77f6bcedc80d6066a74a8eeaa3fa
Reviewed-on: https://review.whamcloud.com/39400
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
18 files changed:
lustre/include/lustre_log.h
lustre/include/lustre_net.h
lustre/mdc/mdc_dev.c
lustre/mdd/mdd_device.c
lustre/obdclass/llog.c
lustre/obdclass/llog_obd.c
lustre/obdclass/llog_osd.c
lustre/obdecho/echo_client.c
lustre/osd-ldiskfs/osd_iam.h
lustre/osd-ldiskfs/osd_iam_lfix.c
lustre/osd-ldiskfs/osd_iam_lvar.c
lustre/ptlrpc/llog_client.c
lustre/quota/lquota_entry.c
lustre/quota/lquota_internal.h
lustre/quota/qmt_entry.c
lustre/quota/qmt_internal.h
lustre/quota/qsd_entry.c
lustre/quota/qsd_internal.h