.id_name = "lfix"
};
-static int iam_lfix_guess(struct iam_container *c)
+int iam_lfix_guess(struct iam_container *c)
{
int result;
struct buffer_head *bh;
return result;
}
-static struct iam_format iam_lfix_format = {
- .if_guess = iam_lfix_guess
-};
-
-void iam_lfix_format_init(void)
-{
- iam_format_register(&iam_lfix_format);
-}
-
/*
* Debugging aid.
*/
#define STORE_UNALIGNED(val, dst) \
({ \
typeof(val) __val = (val); \
- CLASSERT(sizeof(val) == sizeof(*(dst))); \
+ BUILD_BUG_ON(sizeof(val) != sizeof(*(dst))); \
memcpy(dst, &__val, sizeof(*(dst))); \
})