include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / include / linux / falloc.h
blob73e0b628e058cc28c8ae4eab030ff88f6f523d58
1 #ifndef _FALLOC_H_
2 #define _FALLOC_H_
4 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */
5 #define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
7 #ifdef __KERNEL__
9 /*
10 * Space reservation ioctls and argument structure
11 * are designed to be compatible with the legacy XFS ioctls.
13 struct space_resv {
14 __s16 l_type;
15 __s16 l_whence;
16 __s64 l_start;
17 __s64 l_len; /* len == 0 means until end of file */
18 __s32 l_sysid;
19 __u32 l_pid;
20 __s32 l_pad[4]; /* reserved area */
23 #define FS_IOC_RESVSP _IOW('X', 40, struct space_resv)
24 #define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv)
26 #endif /* __KERNEL__ */
28 #endif /* _FALLOC_H_ */