Skip to content

staging/lustre: minor cleanups and CONFIG_PROC_FS fix up

Peng Tao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9staging/lustre/obdclass: fix false used uninitialized warningdrivers/staging/lustre/lustre/obdclass/llog_test.c+1 -10 replies
2/9staging/lustre/obdclass: lprocfs_{alloc_stats,register} always defineddrivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/genops.c+3 -40 replies
2/9staging/lustre/obdclass: lprocfs_{alloc_stats,register} always defineddrivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/genops.c+3 -40 replies
3/9staging/lustre/ldlm: inline ldlm_proc_setupdrivers/staging/lustre/lustre/include/lustre_dlm.h drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c+2 -30 replies
4/9staging/lustre/obdclass: move obd_sysctl_init out of class_procfs_initdrivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/linux/linux-module.c+3 -10 replies
4/9staging/lustre/obdclass: move obd_sysctl_init out of class_procfs_initdrivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/linux/linux-module.c+3 -10 replies
5/9staging/lustre: fix defined not used warningdrivers/staging/lustre/lnet/lnet/router_proc.c drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c+0 -120 replies
6/9staging/lustre/llite: fix used uninitialized warningdrivers/staging/lustre/lustre/llite/file.c+2 -20 replies
7/9staging/lustre/llite: remove ll_file_get_iov_countdrivers/staging/lustre/lustre/llite/file.c+2 -342 replies
8/9staging/lustre: fix undefined reference if CONFIG_PROC_FS is offdrivers/staging/lustre/lustre/fld/fld_internal.h drivers/staging/lustre/lustre/fld/fld_request.c drivers/staging/lustre/lustre/include/obd_support.h +2 more+13 -30 replies
8/9staging/lustre: fix undefined reference if CONFIG_PROC_FS is offdrivers/staging/lustre/lustre/fld/fld_internal.h drivers/staging/lustre/lustre/fld/fld_request.c drivers/staging/lustre/lustre/include/obd_support.h +2 more+13 -30 replies
9/9staging/lustre: don't compile procfs code when CONFIG_PROC_FS is offdrivers/staging/lustre/lustre/fid/Makefile drivers/staging/lustre/lustre/fid/lproc_fid.c drivers/staging/lustre/lustre/fld/Makefile +28 more+247 -2320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] staging/lustre: minor cleanups and CONFIG_PROC_FS fix up

Hi Greg,

Patch 1-7 are small cleanup and fixup.
Patch 8 and 9 fix build errors when CONFIG_PROC_FS is off.

Thanks,
Tao

Cc Andreas Dilger <[email protected]>

Peng Tao (9):
staging/lustre/obdclass: fix false used uninitialized warning staging/lustre/obdclass: lprocfs_{alloc_stats,register} always defined staging/lustre/ldlm: inline ldlm_proc_setup staging/lustre/obdclass: move obd_sysctl_init out of class_procfs_init staging/lustre: fix defined not used warning staging/lustre/llite: fix used uninitialized warning staging/lustre/llite: remove ll_file_get_iov_count staging/lustre: fix undefined reference if CONFIG_PROC_FS is off staging/lustre: don't compile procfs code when CONFIG_PROC_FS is off

 drivers/staging/lustre/lnet/lnet/router_proc.c     |    4 -
 drivers/staging/lustre/lustre/fid/Makefile         |    3 +-
 drivers/staging/lustre/lustre/fid/lproc_fid.c      |    2 -
 drivers/staging/lustre/lustre/fld/Makefile         |    3 +-
 drivers/staging/lustre/lustre/fld/fld_internal.h   |    1 -
 drivers/staging/lustre/lustre/fld/fld_request.c    |    2 +-
 drivers/staging/lustre/lustre/fld/lproc_fld.c      |    3 -
 .../staging/lustre/lustre/include/lprocfs_status.h |    8 +-
 drivers/staging/lustre/lustre/include/lustre_dlm.h |    3 +-
 drivers/staging/lustre/lustre/include/lustre_sec.h |   17 +-
 .../staging/lustre/lustre/include/obd_support.h    |    3 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |    2 -
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |    9 +
 .../lustre/lustre/libcfs/linux/linux-proc.c        |    8 -
 drivers/staging/lustre/lustre/llite/Makefile       |    3 +-
 drivers/staging/lustre/lustre/llite/file.c         |   40 +--
 .../staging/lustre/lustre/llite/llite_internal.h   |   14 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |    1 +
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |    4 -
 drivers/staging/lustre/lustre/lmv/Makefile         |    4 +-
 drivers/staging/lustre/lustre/lmv/lproc_lmv.c      |    5 -
 drivers/staging/lustre/lustre/lov/Makefile         |    3 +-
 drivers/staging/lustre/lustre/lov/lov_internal.h   |    2 +-
 drivers/staging/lustre/lustre/lov/lproc_lov.c      |    4 +-
 drivers/staging/lustre/lustre/lvfs/Makefile        |    3 +-
 drivers/staging/lustre/lustre/lvfs/lvfs_lib.c      |    2 -
 drivers/staging/lustre/lustre/mdc/Makefile         |    3 +-
 drivers/staging/lustre/lustre/mdc/lproc_mdc.c      |    3 -
 drivers/staging/lustre/lustre/mgc/Makefile         |    3 +-
 drivers/staging/lustre/lustre/mgc/lproc_mgc.c      |    3 -
 drivers/staging/lustre/lustre/mgc/mgc_internal.h   |    2 +-
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |    2 +
 drivers/staging/lustre/lustre/obdclass/class_obd.c |   20 +-
 drivers/staging/lustre/lustre/obdclass/genops.c    |    3 +-
 .../lustre/lustre/obdclass/linux/linux-module.c    |    5 +-
 drivers/staging/lustre/lustre/obdclass/llog_test.c |    6 +-
 .../lustre/lustre/obdclass/lprocfs_status.c        |  348 ++++++++++----------
 drivers/staging/lustre/lustre/osc/Makefile         |    3 +-
 drivers/staging/lustre/lustre/osc/lproc_osc.c      |    2 -
 drivers/staging/lustre/lustre/ptlrpc/Makefile      |    3 +-
 .../staging/lustre/lustre/ptlrpc/ptlrpc_internal.h |    6 +
 41 files changed, 273 insertions(+), 292 deletions(-)
Signature · 1 line
1.7.9.5