diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d490779f18d9..52e510a0aec2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -83,6 +83,7 @@ extern int dir_notify_enable; | |||
83 | #define READ_SYNC (READ | (1 << BIO_RW_SYNC)) | 83 | #define READ_SYNC (READ | (1 << BIO_RW_SYNC)) |
84 | #define READ_META (READ | (1 << BIO_RW_META)) | 84 | #define READ_META (READ | (1 << BIO_RW_META)) |
85 | #define WRITE_SYNC (WRITE | (1 << BIO_RW_SYNC)) | 85 | #define WRITE_SYNC (WRITE | (1 << BIO_RW_SYNC)) |
86 | #define SWRITE_SYNC (SWRITE | (1 << BIO_RW_SYNC)) | ||
86 | #define WRITE_BARRIER ((1 << BIO_RW) | (1 << BIO_RW_BARRIER)) | 87 | #define WRITE_BARRIER ((1 << BIO_RW) | (1 << BIO_RW_BARRIER)) |
87 | 88 | ||
88 | #define SEL_IN 1 | 89 | #define SEL_IN 1 |
@@ -894,8 +895,6 @@ static inline int file_check_writeable(struct file *filp) | |||
894 | typedef struct files_struct *fl_owner_t; | 895 | typedef struct files_struct *fl_owner_t; |
895 | 896 | ||
896 | struct file_lock_operations { | 897 | struct file_lock_operations { |
897 | void (*fl_insert)(struct file_lock *); /* lock insertion callback */ | ||
898 | void (*fl_remove)(struct file_lock *); /* lock removal callback */ | ||
899 | void (*fl_copy_lock)(struct file_lock *, struct file_lock *); | 898 | void (*fl_copy_lock)(struct file_lock *, struct file_lock *); |
900 | void (*fl_release_private)(struct file_lock *); | 899 | void (*fl_release_private)(struct file_lock *); |
901 | }; | 900 | }; |
@@ -1741,6 +1740,8 @@ extern int wait_on_page_writeback_range(struct address_space *mapping, | |||
1741 | pgoff_t start, pgoff_t end); | 1740 | pgoff_t start, pgoff_t end); |
1742 | extern int __filemap_fdatawrite_range(struct address_space *mapping, | 1741 | extern int __filemap_fdatawrite_range(struct address_space *mapping, |
1743 | loff_t start, loff_t end, int sync_mode); | 1742 | loff_t start, loff_t end, int sync_mode); |
1743 | extern int filemap_fdatawrite_range(struct address_space *mapping, | ||
1744 | loff_t start, loff_t end); | ||
1744 | 1745 | ||
1745 | extern long do_fsync(struct file *file, int datasync); | 1746 | extern long do_fsync(struct file *file, int datasync); |
1746 | extern void sync_supers(void); | 1747 | extern void sync_supers(void); |
@@ -1871,7 +1872,8 @@ extern void | |||
1871 | file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); | 1872 | file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); |
1872 | extern loff_t no_llseek(struct file *file, loff_t offset, int origin); | 1873 | extern loff_t no_llseek(struct file *file, loff_t offset, int origin); |
1873 | extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin); | 1874 | extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin); |
1874 | extern loff_t remote_llseek(struct file *file, loff_t offset, int origin); | 1875 | extern loff_t generic_file_llseek_unlocked(struct file *file, loff_t offset, |
1876 | int origin); | ||
1875 | extern int generic_file_open(struct inode * inode, struct file * filp); | 1877 | extern int generic_file_open(struct inode * inode, struct file * filp); |
1876 | extern int nonseekable_open(struct inode * inode, struct file * filp); | 1878 | extern int nonseekable_open(struct inode * inode, struct file * filp); |
1877 | 1879 | ||