gfs2-utils: master - gfs2: fix build failure
Abhijith Das
adas at fedoraproject.org
Tue Dec 15 19:10:17 UTC 2009
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=78c2c90520d9f20ac0c8879dc62e13816aad78d3
Commit: 78c2c90520d9f20ac0c8879dc62e13816aad78d3
Parent: 9340634945ed05fb70d91b4832681238da3404c8
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Tue Dec 15 10:13:56 2009 +0100
Committer: Abhijith Das <adas at redhat.com>
CommitterDate: Tue Dec 15 13:09:26 2009 -0600
gfs2: fix build failure
ded81a77973a752c3c4af5a6cca306df4cfb7cc7 doesn't build
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
gfs2/quota/gfs2_quota.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gfs2/quota/gfs2_quota.h b/gfs2/quota/gfs2_quota.h
index 119b083..80c0d3f 100644
--- a/gfs2/quota/gfs2_quota.h
+++ b/gfs2/quota/gfs2_quota.h
@@ -4,6 +4,8 @@
#include "libgfs2.h"
#include <linux/gfs2_ondisk.h>
+#define DIV_RU(x, y) (((x) + (y) - 1) / (y))
+
#define type_zalloc(ptr, type, count) \
do { \
(ptr) = (type *)malloc(sizeof(type) * (count)); \
More information about the cluster-commits
mailing list