indent(1) doesn't know how to handle the "do not compile" error. It results in the item_ops array declaration being indented a tab stop in when it should not be. This patch replaces it with a #error that describes why it's failing.
Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]> diff -ruNpX dontdiff linux-2.6.13-rc2/fs/reiserfs/item_ops.c linux-2.6.13-rc2.lindent/fs/reiserfs/item_ops.c --- linux-2.6.13-rc2/fs/reiserfs/item_ops.c 2005-07-12 21:00:32.000000000 -0400 +++ linux-2.6.13-rc2.lindent/fs/reiserfs/item_ops.c 2005-07-12 21:04:01.000000000 -0400 @@ -772,7 +772,7 @@ static struct item_operations errcatch_o // // #if ! (TYPE_STAT_DATA == 0 && TYPE_INDIRECT == 1 && TYPE_DIRECT == 2 && TYPE_DIRENTRY == 3) - do not compile +#error Item types must use disk-format assigned values. #endif struct item_operations * item_ops [TYPE_ANY + 1] = { -- Jeff Mahoney SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/