Whamcloud - gitweb
LU-12355 llite: totalram_pages changed to atomic_long_t 25/35025/5
authorShaun Tancheff <stancheff@cray.com>
Sat, 15 Jun 2019 19:32:26 +0000 (14:32 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 05:22:04 +0000 (05:22 +0000)
commit5ca5b19e8efdfede8ec3405eaced7202984f396b
treee72bbec91c9b4e2eecbe9a68b8a46200f17aa515
parentc7cf7a5076440f68dee8f7798f46f50c94404a7e
LU-12355 llite: totalram_pages changed to atomic_long_t

Kernel 5.0 changed totalram_pages to atomic_long_t
Provide an abstracted accessor now that totalram_pages
is now a function

Linux-commit: ca79b0c211af63fa3276f0e3fd7dd9ada2439839

Test-Parameters: trivial
Change-Id: I558e42074004e2ee5f79deea0d363e5bea332729
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-on: https://review.whamcloud.com/35025
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_prim.h
libcfs/libcfs/linux/linux-tracefile.c
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/llite/lproc_llite.c
lustre/mdc/lproc_mdc.c
lustre/obdclass/class_obd.c
lustre/obdclass/lu_object.c
lustre/obdclass/obd_sysfs.c
lustre/osc/lproc_osc.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/sec_bulk.c