summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode_item.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-10-19 08:42:47 +1100
committerDave Chinner <david@fromorbit.com>2015-10-19 08:42:47 +1100
commitf9d460b341f23a9bb7df8868975fdfcc2e71aa9b (patch)
tree18f61dab8211f085b4855e853925948ddbcd2967 /fs/xfs/xfs_inode_item.c
parent985ef4dcf94ac0113e2b32ef86bdd5bc47c016b3 (diff)
downloadlinux-f9d460b341f23a9bb7df8868975fdfcc2e71aa9b.tar.gz
linux-f9d460b341f23a9bb7df8868975fdfcc2e71aa9b.tar.bz2
linux-f9d460b341f23a9bb7df8868975fdfcc2e71aa9b.zip
xfs: fix an error code in xfs_fs_fill_super()
If alloc_percpu() fails, we accidentally return PTR_ERR(NULL), which means success, but we intended to return -ENOMEM. Fixes: 225e4635580c ('xfs: per-filesystem stats in sysfs') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Bill O'Donnell <billodo@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
0 files changed, 0 insertions, 0 deletions