Whamcloud - gitweb
LU-7334 lprocfs: Refactored string to value helpers 30/16930/13
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Thu, 1 Oct 2015 22:51:19 +0000 (15:51 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 May 2016 16:36:53 +0000 (16:36 +0000)
commit1cd2189806c82c31256c5ef9756d1dbf97784844
tree5711886063e0bcc318384dc3a94a50eeb8f180dd
parenteaab0922aaaec6d68a2c8121220eb5ca21f186d3
LU-7334 lprocfs: Refactored string to value helpers

Refactored the string parsing helpers to correct
inconsistent behavior and added handling for s64
overflow/underflow. Removed the old helper
functions and refactored functions that called
them.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Change-Id: I84f3b5d46d4e20bd09fe223589e1be96dc8f7468
Reviewed-on: http://review.whamcloud.com/16930
Reviewed-by: Christopher J. Morrone <morrone2@llnl.gov>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
24 files changed:
lustre/fid/lproc_fid.c
lustre/include/lprocfs_status.h
lustre/include/lustre_lfsck.h
lustre/ldlm/ldlm_resource.c
lustre/lfsck/lfsck_lib.c
lustre/llite/lproc_llite.c
lustre/lod/lproc_lod.c
lustre/lov/lproc_lov.c
lustre/mdc/lproc_mdc.c
lustre/mdd/mdd_lproc.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_lproc.c
lustre/obdclass/linux/linux-sysctl.c
lustre/obdclass/lprocfs_jobstats.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/lprocfs_status_server.c
lustre/ofd/lproc_ofd.c
lustre/osc/lproc_osc.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_lproc.c
lustre/osp/lproc_osp.c
lustre/ptlrpc/gss/lproc_gss.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/quota/qsd_lib.c