On Tue, Nov 06, 2007 at 02:33:53AM -0800, akpm@linux-foundation.org wrote:
[mmotm.git] / fs / reiser4 / ioctl.h
blobb24c6c3dd3d2a6de3ccd53ff80a9d76e800c6d00
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: