revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / reiser4 / dscale.h
blob545e111e99d86e9f88f223ef65706f046baed4d2
1 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
2 * reiser4/README */
4 /* Scalable on-disk integers. See dscale.h for details. */
6 #if !defined( __FS_REISER4_DSCALE_H__ )
7 #define __FS_REISER4_DSCALE_H__
9 #include "dformat.h"
11 extern int dscale_read(unsigned char *address, __u64 * value);
12 extern int dscale_write(unsigned char *address, __u64 value);
13 extern int dscale_bytes(__u64 value);
14 extern int dscale_fit(__u64 value, __u64 other);
16 /* __FS_REISER4_DSCALE_H__ */
17 #endif
19 /* Make Linus happy.
20 Local variables:
21 c-indentation-style: "K&R"
22 mode-name: "LC"
23 c-basic-offset: 8
24 tab-width: 8
25 fill-column: 120
26 End: