Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] reiserfs: fix up case where indent misreads the code

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 <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jeff Mahoney and committed by
Linus Torvalds
7fa94c88 d5e404c1

+1 -1
+1 -1
fs/reiserfs/item_ops.c
··· 772 772 // 773 773 // 774 774 #if ! (TYPE_STAT_DATA == 0 && TYPE_INDIRECT == 1 && TYPE_DIRECT == 2 && TYPE_DIRENTRY == 3) 775 - do not compile 775 + #error Item types must use disk-format assigned values. 776 776 #endif 777 777 778 778 struct item_operations * item_ops [TYPE_ANY + 1] = {