diff options
| author | Chris Mason <mason@suse.com> | 2002-05-20 21:43:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-05-20 21:43:46 -0700 |
| commit | ea882f08613a6efa9929b3d6a7e7bfcbec22cf92 (patch) | |
| tree | 1032ea42e66e8fa019aab3549e84cf896ce0e3f8 /include | |
| parent | 70e08a38b2ded7518678bb1f2a89862b0fa5cc1f (diff) | |
[PATCH] reiserfs 64 bit bug in get_virtual_node_size
This patch fixes a problem with reiserfs on 64 bit machines. Our
struct virtual_item is a different size there, and some calculations
that assume otherwise lead to this panic create_virtual_node:
vs-8030: create_virtual_node: virtual node space consumed
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/reiserfs_fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index 173279f6ff0a..abe55b91a328 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h @@ -1342,6 +1342,13 @@ struct virtual_node struct virtual_item * vn_vi; /* array of items (including a new one, excluding item to be deleted) */ }; +/* used by directory items when creating virtual nodes */ +struct direntry_uarea { + int flags; + __u16 entry_count; + __u16 entry_sizes[1]; +} __attribute__ ((__packed__)) ; + /***************************************************************************/ /* TREE BALANCE */ |
