diff options
author | Dave Chinner <david@fromorbit.com> | 2015-10-19 01:03:30 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-10-19 01:03:30 +0300 |
commit | fcd8a399a9d44a637b5ded0eeea14c7933132121 (patch) | |
tree | 95530bfbf7a937abffec3904c690eb356786fd1c /fs/xfs/xfs_super.c | |
parent | 1e2103cbf4adfd5490ee5f3ee59750bd70d2047e (diff) | |
parent | f9d460b341f23a9bb7df8868975fdfcc2e71aa9b (diff) | |
download | linux-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.c | 2 |
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; } |