Starting from kernel 2.6.34 the definitions of QUOTA_OK and NO_QUOTA
have been removed from linux kernel (linux/quota.h). This adds the
needed definitions to the relevant files.
Change-Id: I9b67ea491a34777c2ea5ff86630788cec18ebcf6
Signed-off-by: Christos Triantafyllidis <ctria@grid.auth.gr>
Reviewed-on: http://review.whamcloud.com/973
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
#define queue_max_hw_segments(rq) queue_max_segments(rq)
#endif
+/* Linux 2.6.34+ no longer define NO_QUOTA */
+#ifndef NO_QUOTA
+#define NO_QUOTA 1
+#endif
+
#endif /* __KERNEL__ */
#endif /* _COMPAT25_H */
# include <liblustre.h>
#endif
+/* Linux 2.6.34+ no longer define QUOTA_OK */
+#ifndef QUOTA_OK
+#define QUOTA_OK 0
+#endif
+
#include <obd_class.h>
#include <lustre_mds.h>
#include <lustre_dlm.h>