linux/debian/patches/bugfix/all/aufs2-remove-incorrect-stat...

16 lines
368 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Subject: [PATCH] aufs2: Remove incorrect static assertion
This should allow aufs2 to build on alpha.
--- a/fs/aufs/vdir.c
+++ b/fs/aufs/vdir.c
@@ -25,7 +25,6 @@
static unsigned int calc_size(int nlen)
{
- BUILD_BUG_ON(sizeof(ino_t) != sizeof(long));
return ALIGN(sizeof(struct au_vdir_de) + nlen, sizeof(ino_t));
}