diff options
| -rw-r--r-- | include/linux/fs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 3de2bfb2410f..f813bc8266aa 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -213,6 +213,10 @@ extern int dir_notify_enable; | |||
| 213 | #define FIBMAP _IO(0x00,1) /* bmap access */ | 213 | #define FIBMAP _IO(0x00,1) /* bmap access */ |
| 214 | #define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */ | 214 | #define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */ |
| 215 | 215 | ||
| 216 | #define SYNC_FILE_RANGE_WAIT_BEFORE 1 | ||
| 217 | #define SYNC_FILE_RANGE_WRITE 2 | ||
| 218 | #define SYNC_FILE_RANGE_WAIT_AFTER 4 | ||
| 219 | |||
| 216 | #ifdef __KERNEL__ | 220 | #ifdef __KERNEL__ |
| 217 | 221 | ||
| 218 | #include <linux/linkage.h> | 222 | #include <linux/linkage.h> |
| @@ -758,9 +762,6 @@ extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg); | |||
| 758 | extern int fcntl_getlease(struct file *filp); | 762 | extern int fcntl_getlease(struct file *filp); |
| 759 | 763 | ||
| 760 | /* fs/sync.c */ | 764 | /* fs/sync.c */ |
| 761 | #define SYNC_FILE_RANGE_WAIT_BEFORE 1 | ||
| 762 | #define SYNC_FILE_RANGE_WRITE 2 | ||
| 763 | #define SYNC_FILE_RANGE_WAIT_AFTER 4 | ||
| 764 | extern int do_sync_file_range(struct file *file, loff_t offset, loff_t endbyte, | 765 | extern int do_sync_file_range(struct file *file, loff_t offset, loff_t endbyte, |
| 765 | unsigned int flags); | 766 | unsigned int flags); |
| 766 | 767 | ||
