summaryrefslogtreecommitdiff
path: root/fs/xfs/linux/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux/xfs_super.c')
-rw-r--r--fs/xfs/linux/xfs_super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/linux/xfs_super.c b/fs/xfs/linux/xfs_super.c
index fc9235db86..89a401fdd6 100644
--- a/fs/xfs/linux/xfs_super.c
+++ b/fs/xfs/linux/xfs_super.c
@@ -1009,13 +1009,13 @@ init_xfs_fs( void )
if (error < 0)
return error;
+ si_meminfo(&si);
+ xfs_physmem = si.totalram;
+
error = pagebuf_init();
if (error < 0)
goto out;
- si_meminfo(&si);
- xfs_physmem = si.totalram;
-
vn_init();
xfs_init();
dmapi_init();