diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/include/linux/fs.h b/include/linux/fs.h index 2620a8c63571..a057f48eb156 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -129,7 +129,7 @@ struct inodes_stat_t { | |||
| 129 | * WRITE_SYNC Like WRITE_SYNC_PLUG, but also unplugs the device | 129 | * WRITE_SYNC Like WRITE_SYNC_PLUG, but also unplugs the device | 
| 130 | * immediately after submission. The write equivalent | 130 | * immediately after submission. The write equivalent | 
| 131 | * of READ_SYNC. | 131 | * of READ_SYNC. | 
| 132 | * WRITE_ODIRECT Special case write for O_DIRECT only. | 132 | * WRITE_ODIRECT_PLUG Special case write for O_DIRECT only. | 
| 133 | * SWRITE_SYNC | 133 | * SWRITE_SYNC | 
| 134 | * SWRITE_SYNC_PLUG Like WRITE_SYNC/WRITE_SYNC_PLUG, but locks the buffer. | 134 | * SWRITE_SYNC_PLUG Like WRITE_SYNC/WRITE_SYNC_PLUG, but locks the buffer. | 
| 135 | * See SWRITE. | 135 | * See SWRITE. | 
| @@ -151,7 +151,7 @@ struct inodes_stat_t { | |||
| 151 | #define READ_META (READ | (1 << BIO_RW_META)) | 151 | #define READ_META (READ | (1 << BIO_RW_META)) | 
| 152 | #define WRITE_SYNC_PLUG (WRITE | (1 << BIO_RW_SYNCIO) | (1 << BIO_RW_NOIDLE)) | 152 | #define WRITE_SYNC_PLUG (WRITE | (1 << BIO_RW_SYNCIO) | (1 << BIO_RW_NOIDLE)) | 
| 153 | #define WRITE_SYNC (WRITE_SYNC_PLUG | (1 << BIO_RW_UNPLUG)) | 153 | #define WRITE_SYNC (WRITE_SYNC_PLUG | (1 << BIO_RW_UNPLUG)) | 
| 154 | #define WRITE_ODIRECT (WRITE | (1 << BIO_RW_SYNCIO) | (1 << BIO_RW_UNPLUG)) | 154 | #define WRITE_ODIRECT_PLUG (WRITE | (1 << BIO_RW_SYNCIO)) | 
| 155 | #define SWRITE_SYNC_PLUG \ | 155 | #define SWRITE_SYNC_PLUG \ | 
| 156 | (SWRITE | (1 << BIO_RW_SYNCIO) | (1 << BIO_RW_NOIDLE)) | 156 | (SWRITE | (1 << BIO_RW_SYNCIO) | (1 << BIO_RW_NOIDLE)) | 
| 157 | #define SWRITE_SYNC (SWRITE_SYNC_PLUG | (1 << BIO_RW_UNPLUG)) | 157 | #define SWRITE_SYNC (SWRITE_SYNC_PLUG | (1 << BIO_RW_UNPLUG)) | 
| @@ -304,6 +304,7 @@ struct inodes_stat_t { | |||
| 304 | #define BLKIOOPT _IO(0x12,121) | 304 | #define BLKIOOPT _IO(0x12,121) | 
| 305 | #define BLKALIGNOFF _IO(0x12,122) | 305 | #define BLKALIGNOFF _IO(0x12,122) | 
| 306 | #define BLKPBSZGET _IO(0x12,123) | 306 | #define BLKPBSZGET _IO(0x12,123) | 
| 307 | #define BLKDISCARDZEROES _IO(0x12,124) | ||
| 307 | 308 | ||
| 308 | #define BMAP_IOCTL 1 /* obsolete - kept for compatibility */ | 309 | #define BMAP_IOCTL 1 /* obsolete - kept for compatibility */ | 
| 309 | #define FIBMAP _IO(0x00,1) /* bmap access */ | 310 | #define FIBMAP _IO(0x00,1) /* bmap access */ | 
| @@ -2090,8 +2091,6 @@ extern int filemap_fdatawait_range(struct address_space *, loff_t lstart, | |||
| 2090 | extern int filemap_write_and_wait(struct address_space *mapping); | 2091 | extern int filemap_write_and_wait(struct address_space *mapping); | 
| 2091 | extern int filemap_write_and_wait_range(struct address_space *mapping, | 2092 | extern int filemap_write_and_wait_range(struct address_space *mapping, | 
| 2092 | loff_t lstart, loff_t lend); | 2093 | loff_t lstart, loff_t lend); | 
| 2093 | extern int wait_on_page_writeback_range(struct address_space *mapping, | ||
| 2094 | pgoff_t start, pgoff_t end); | ||
| 2095 | extern int __filemap_fdatawrite_range(struct address_space *mapping, | 2094 | extern int __filemap_fdatawrite_range(struct address_space *mapping, | 
| 2096 | loff_t start, loff_t end, int sync_mode); | 2095 | loff_t start, loff_t end, int sync_mode); | 
| 2097 | extern int filemap_fdatawrite_range(struct address_space *mapping, | 2096 | extern int filemap_fdatawrite_range(struct address_space *mapping, | 
