X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fxfs%2Flinux-2.6%2Fxfs_globals.c;h=ef90e64641e6a662b0478d74fc0918246c9a2e95;hb=e45b590b976465c258f3e2a6cc84573fc19e16d3;hp=81565dea9af7ca9f119a69ebc2f32a62edc318df;hpb=973ed7c49a5c2271a10ce54ac06bba5617fca3a8;p=linux-2.6-omap-h63xx.git diff --git a/fs/xfs/linux-2.6/xfs_globals.c b/fs/xfs/linux-2.6/xfs_globals.c index 81565dea9af..ef90e64641e 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;