revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / reiser4 / ioctl.h
blob4d57737e6810cd66231d6af924c6582a7d82af8b
1 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
2 * reiser4/README */
4 #if !defined( __REISER4_IOCTL_H__ )
5 #define __REISER4_IOCTL_H__
7 #include <linux/fs.h>
9 /*
10 * ioctl(2) command used to "unpack" reiser4 file, that is, convert it into
11 * extents and fix in this state. This is used by applications that rely on
13 * . files being block aligned, and
15 * . files never migrating on disk
17 * for example, boot loaders (LILO) need this.
19 * This ioctl should be used as
21 * result = ioctl(fd, REISER4_IOC_UNPACK);
23 * File behind fd descriptor will be converted to the extents (if necessary),
24 * and its stat-data will be updated so that it will never be converted back
25 * into tails again.
27 #define REISER4_IOC_UNPACK _IOW(0xCD,1,long)
29 /* __REISER4_IOCTL_H__ */
30 #endif
32 /* Make Linus happy.
33 Local variables:
34 c-indentation-style: "K&R"
35 mode-name: "LC"
36 c-basic-offset: 8
37 tab-width: 8
38 fill-column: 120
39 scroll-step: 1
40 End: