Merge remote-tracking branches 'asoc/topic/ab8500', 'asoc/topic/ac97' and 'asoc/topic...
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_qm_bhv.c
index e9be63abd8d29f9003521ce5efa0b2aeaae2f467..2c61e61b0205eef889af4fe88c2a58359e010649 100644 (file)
@@ -117,7 +117,7 @@ xfs_qm_newmount(
                        (uquotaondisk ? " usrquota" : ""),
                        (gquotaondisk ? " grpquota" : ""),
                        (pquotaondisk ? " prjquota" : ""));
-               return XFS_ERROR(EPERM);
+               return -EPERM;
        }
 
        if (XFS_IS_QUOTA_ON(mp) || quotaondisk) {