diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1d3e601ece73..8f74dfbb2edd 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -512,7 +512,6 @@ struct inode { | |||
| 512 | struct timespec i_mtime; | 512 | struct timespec i_mtime; |
| 513 | struct timespec i_ctime; | 513 | struct timespec i_ctime; |
| 514 | unsigned int i_blkbits; | 514 | unsigned int i_blkbits; |
| 515 | unsigned long i_blksize; | ||
| 516 | unsigned long i_version; | 515 | unsigned long i_version; |
| 517 | blkcnt_t i_blocks; | 516 | blkcnt_t i_blocks; |
| 518 | unsigned short i_bytes; | 517 | unsigned short i_bytes; |
| @@ -528,11 +527,12 @@ struct inode { | |||
| 528 | #ifdef CONFIG_QUOTA | 527 | #ifdef CONFIG_QUOTA |
| 529 | struct dquot *i_dquot[MAXQUOTAS]; | 528 | struct dquot *i_dquot[MAXQUOTAS]; |
| 530 | #endif | 529 | #endif |
| 531 | /* These three should probably be a union */ | ||
| 532 | struct list_head i_devices; | 530 | struct list_head i_devices; |
| 533 | struct pipe_inode_info *i_pipe; | 531 | union { |
| 534 | struct block_device *i_bdev; | 532 | struct pipe_inode_info *i_pipe; |
| 535 | struct cdev *i_cdev; | 533 | struct block_device *i_bdev; |
| 534 | struct cdev *i_cdev; | ||
| 535 | }; | ||
| 536 | int i_cindex; | 536 | int i_cindex; |
| 537 | 537 | ||
| 538 | __u32 i_generation; | 538 | __u32 i_generation; |
| @@ -554,9 +554,7 @@ struct inode { | |||
| 554 | 554 | ||
| 555 | atomic_t i_writecount; | 555 | atomic_t i_writecount; |
| 556 | void *i_security; | 556 | void *i_security; |
| 557 | union { | 557 | void *i_private; /* fs or device private pointer */ |
| 558 | void *generic_ip; | ||
| 559 | } u; | ||
| 560 | #ifdef __NEED_I_SIZE_ORDERED | 558 | #ifdef __NEED_I_SIZE_ORDERED |
| 561 | seqcount_t i_size_seqcount; | 559 | seqcount_t i_size_seqcount; |
| 562 | #endif | 560 | #endif |
