summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-10-19 01:03:30 +0300
committerDave Chinner <david@fromorbit.com>2015-10-19 01:03:30 +0300
commitfcd8a399a9d44a637b5ded0eeea14c7933132121 (patch)
tree95530bfbf7a937abffec3904c690eb356786fd1c /fs/xfs/xfs_super.c
parent1e2103cbf4adfd5490ee5f3ee59750bd70d2047e (diff)
parentf9d460b341f23a9bb7df8868975fdfcc2e71aa9b (diff)
downloadlinux-fcd8a399a9d44a637b5ded0eeea14c7933132121.tar.xz
Merge branch 'xfs-stats-fixes' into for-next
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 368c55adee9d..b2c252cd7172 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1477,7 +1477,7 @@ xfs_fs_fill_super(
/* Allocate stats memory before we do operations that might use it */
mp->m_stats.xs_stats = alloc_percpu(struct xfsstats);
if (!mp->m_stats.xs_stats) {
- error = PTR_ERR(mp->m_stats.xs_stats);
+ error = -ENOMEM;
goto out_destroy_counters;
}