revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / reiser4 / plugin / fibration.h
blob0723cadd02f6d88157f9224ea16bdc29dc79fa4b
1 /* Copyright 2004 by Hans Reiser, licensing governed by reiser4/README */
3 /* Fibration plugin used by hashed directory plugin to segment content
4 * of directory. See fs/reiser4/plugin/fibration.c for more on this. */
6 #if !defined( __FS_REISER4_PLUGIN_FIBRATION_H__ )
7 #define __FS_REISER4_PLUGIN_FIBRATION_H__
9 #include "plugin_header.h"
11 typedef struct fibration_plugin {
12 /* generic fields */
13 plugin_header h;
15 __u64(*fibre) (const struct inode * dir, const char *name, int len);
16 } fibration_plugin;
18 typedef enum {
19 FIBRATION_LEXICOGRAPHIC,
20 FIBRATION_DOT_O,
21 FIBRATION_EXT_1,
22 FIBRATION_EXT_3,
23 LAST_FIBRATION_ID
24 } reiser4_fibration_id;
26 /* __FS_REISER4_PLUGIN_FIBRATION_H__ */
27 #endif
29 /* Make Linus happy.
30 Local variables:
31 c-indentation-style: "K&R"
32 mode-name: "LC"
33 c-basic-offset: 8
34 tab-width: 8
35 fill-column: 120
36 End: