aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-24 04:22:21 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-24 04:22:21 -0400
commit66643de455c27973ac31ad6de9f859d399916842 (patch)
tree7ebed7f051879007d4b11d6aaa9e65a1bcb0b08f /include/linux/fs.h
parent2c23d62abb820e19c54012520f08a198c2233a85 (diff)
parent387e2b0439026aa738a9edca15a57e5c0bcb4dfc (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: include/asm-powerpc/unistd.h include/asm-sparc/unistd.h include/asm-sparc64/unistd.h Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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