X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fxfs%2Flinux-2.6%2Fxfs_globals.c;h=ef90e64641e6a662b0478d74fc0918246c9a2e95;hb=f3aafa6c2535d36542a6dfc8647cd2fdb5999648;hp=81565dea9af7ca9f119a69ebc2f32a62edc318df;hpb=e032d93e1a3b2facf17029a643faf141dcea5f70;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/xfs/linux-2.6/xfs_globals.c b/fs/xfs/linux-2.6/xfs_globals.c index 81565dea9af7..ef90e64641e6 100644 --- a/fs/xfs/linux-2.6/xfs_globals.c +++ b/fs/xfs/linux-2.6/xfs_globals.c @@ -19,11 +19,6 @@ #include "xfs_cred.h" #include "xfs_sysctl.h" -/* - * System memory size - used to scale certain data structures in XFS. - */ -unsigned long xfs_physmem; - /* * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n, * other XFS code uses these values. Times are measured in centisecs (i.e. @@ -52,5 +47,6 @@ xfs_param_t xfs_params = { /* * Global system credential structure. */ -cred_t sys_cred_val, *sys_cred = &sys_cred_val; +static cred_t sys_cred_val; +cred_t *sys_cred = &sys_cred_val;