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