summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-09-27 21:14:27 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-09-27 21:14:27 +0200
commit9f1d112d1282216f16b2f673c8213d2839e39b7a (patch)
tree890d036d75ae0d38ebff39a4be000959e71409ec /gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch
parent859620e51db0b7ffb666cd47146eca4fd4d6ba63 (diff)
parentcb1e0cfc2f32e6811da588231497d896491ceabb (diff)
downloadgnu-guix-9f1d112d1282216f16b2f673c8213d2839e39b7a.tar
gnu-guix-9f1d112d1282216f16b2f673c8213d2839e39b7a.tar.gz
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch')
-rw-r--r--gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch b/gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch
deleted file mode 100644
index e7a96a2ac0..0000000000
--- a/gnu/packages/patches/e2fsprogs-32bit-quota-warnings.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Fix a test failure on 32-bit platforms.
-
-Patch copied from upstream source repository:
-
-https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=9e31a5696c4b699bf000a07b86601c1fb91c0493
-
-diff --git a/lib/support/mkquota.c b/lib/support/mkquota.c
-index 00f3a40..931a839 100644
---- a/lib/support/mkquota.c
-+++ b/lib/support/mkquota.c
-@@ -50,11 +50,13 @@ static void print_dquot(const char *desc, struct dquot *dq)
- {
- if (desc)
- fprintf(stderr, "%s: ", desc);
-- fprintf(stderr, "%u %ld:%ld:%ld %ld:%ld:%ld\n",
-- dq->dq_id, dq->dq_dqb.dqb_curspace,
-- dq->dq_dqb.dqb_bsoftlimit, dq->dq_dqb.dqb_bhardlimit,
-- dq->dq_dqb.dqb_curinodes,
-- dq->dq_dqb.dqb_isoftlimit, dq->dq_dqb.dqb_ihardlimit);
-+ fprintf(stderr, "%u %lld:%lld:%lld %lld:%lld:%lld\n",
-+ dq->dq_id, (long long) dq->dq_dqb.dqb_curspace,
-+ (long long) dq->dq_dqb.dqb_bsoftlimit,
-+ (long long) dq->dq_dqb.dqb_bhardlimit,
-+ (long long) dq->dq_dqb.dqb_curinodes,
-+ (long long) dq->dq_dqb.dqb_isoftlimit,
-+ (long long) dq->dq_dqb.dqb_ihardlimit);
- }
- #else
- static void print_dquot(const char *desc EXT2FS_ATTR((unused)),
-@@ -524,11 +526,11 @@ static int scan_dquots_callback(struct dquot *dquot, void *cb_data)
- dq->dq_dqb.dqb_curinodes != dquot->dq_dqb.dqb_curinodes) {
- scan_data->usage_is_inconsistent = 1;
- fprintf(stderr, "[QUOTA WARNING] Usage inconsistent for ID %u:"
-- "actual (%ld, %ld) != expected (%ld, %ld)\n",
-- dq->dq_id, dq->dq_dqb.dqb_curspace,
-- dq->dq_dqb.dqb_curinodes,
-- dquot->dq_dqb.dqb_curspace,
-- dquot->dq_dqb.dqb_curinodes);
-+ "actual (%lld, %lld) != expected (%lld, %lld)\n",
-+ dq->dq_id, (long long) dq->dq_dqb.dqb_curspace,
-+ (long long) dq->dq_dqb.dqb_curinodes,
-+ (long long) dquot->dq_dqb.dqb_curspace,
-+ (long long) dquot->dq_dqb.dqb_curinodes);
- }
-
- if (scan_data->update_limits) {