writeback: split writeback_inodes_wb
[linux-2.6/next.git] / include / linux / falloc.h
blob3c155107d61f3d2f4be840dd2d175651ae1c1aa9
1 #ifndef _FALLOC_H_
2 #define _FALLOC_H_
4 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */
6 #ifdef __KERNEL__
8 /*
9 * Space reservation ioctls and argument structure
10 * are designed to be compatible with the legacy XFS ioctls.
12 struct space_resv {
13 __s16 l_type;
14 __s16 l_whence;
15 __s64 l_start;
16 __s64 l_len; /* len == 0 means until end of file */
17 __s32 l_sysid;
18 __u32 l_pid;
19 __s32 l_pad[4]; /* reserved area */
22 #define FS_IOC_RESVSP _IOW('X', 40, struct space_resv)
23 #define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv)
25 #endif /* __KERNEL__ */
27 #endif /* _FALLOC_H_ */