revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / reiser4 / plugin / item / blackbox.h
blobf5b7af382dc700b5c7d6ac8f04240b2e4a0096d9
1 /* Copyright 2003 by Hans Reiser, licensing governed by
2 * reiser4/README */
4 /* "Black box" entry to fixed-width contain user supplied data */
6 #if !defined( __FS_REISER4_BLACK_BOX_H__ )
7 #define __FS_REISER4_BLACK_BOX_H__
9 #include "../../forward.h"
10 #include "../../dformat.h"
11 #include "../../kassign.h"
12 #include "../../key.h"
14 extern int store_black_box(reiser4_tree * tree,
15 const reiser4_key * key, void *data, int length);
16 extern int load_black_box(reiser4_tree * tree,
17 reiser4_key * key, void *data, int length, int exact);
18 extern int kill_black_box(reiser4_tree * tree, const reiser4_key * key);
19 extern int update_black_box(reiser4_tree * tree,
20 const reiser4_key * key, void *data, int length);
22 /* __FS_REISER4_BLACK_BOX_H__ */
23 #endif
25 /* Make Linus happy.
26 Local variables:
27 c-indentation-style: "K&R"
28 mode-name: "LC"
29 c-basic-offset: 8
30 tab-width: 8
31 fill-column: 120
32 End: