diff options
author | Jeff Mahoney <jeffm@suse.com> | 2005-07-12 19:19:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:22:35 -0400 |
commit | 7fa94c8868edfef8cb6a201fcc9a5078b7b961da (patch) | |
tree | 9e57a0a575414c4f602004d1f85eb7d261b5dafb /fs/reiserfs/item_ops.c | |
parent | d5e404c10a98fc2979643476851e9cbdb1944812 (diff) |
[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>
Diffstat (limited to 'fs/reiserfs/item_ops.c')
-rw-r--r-- | fs/reiserfs/item_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/item_ops.c b/fs/reiserfs/item_ops.c index 0ce33db1acdf..e477aeba8c92 100644 --- a/fs/reiserfs/item_ops.c +++ b/fs/reiserfs/item_ops.c | |||
@@ -772,7 +772,7 @@ static struct item_operations errcatch_ops = { | |||
772 | // | 772 | // |
773 | // | 773 | // |
774 | #if ! (TYPE_STAT_DATA == 0 && TYPE_INDIRECT == 1 && TYPE_DIRECT == 2 && TYPE_DIRENTRY == 3) | 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 | #endif | 776 | #endif |
777 | 777 | ||
778 | struct item_operations * item_ops [TYPE_ANY + 1] = { | 778 | struct item_operations * item_ops [TYPE_ANY + 1] = { |