|
@@ -802,13 +802,14 @@ struct inode {
|
|
unsigned int __i_nlink;
|
|
unsigned int __i_nlink;
|
|
};
|
|
};
|
|
dev_t i_rdev;
|
|
dev_t i_rdev;
|
|
|
|
+ loff_t i_size;
|
|
struct timespec i_atime;
|
|
struct timespec i_atime;
|
|
struct timespec i_mtime;
|
|
struct timespec i_mtime;
|
|
struct timespec i_ctime;
|
|
struct timespec i_ctime;
|
|
spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */
|
|
spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */
|
|
unsigned short i_bytes;
|
|
unsigned short i_bytes;
|
|
|
|
+ unsigned int i_blkbits;
|
|
blkcnt_t i_blocks;
|
|
blkcnt_t i_blocks;
|
|
- loff_t i_size;
|
|
|
|
|
|
|
|
#ifdef __NEED_I_SIZE_ORDERED
|
|
#ifdef __NEED_I_SIZE_ORDERED
|
|
seqcount_t i_size_seqcount;
|
|
seqcount_t i_size_seqcount;
|
|
@@ -828,9 +829,8 @@ struct inode {
|
|
struct list_head i_dentry;
|
|
struct list_head i_dentry;
|
|
struct rcu_head i_rcu;
|
|
struct rcu_head i_rcu;
|
|
};
|
|
};
|
|
- atomic_t i_count;
|
|
|
|
- unsigned int i_blkbits;
|
|
|
|
u64 i_version;
|
|
u64 i_version;
|
|
|
|
+ atomic_t i_count;
|
|
atomic_t i_dio_count;
|
|
atomic_t i_dio_count;
|
|
atomic_t i_writecount;
|
|
atomic_t i_writecount;
|
|
const struct file_operations *i_fop; /* former ->i_op->default_file_ops */
|
|
const struct file_operations *i_fop; /* former ->i_op->default_file_ops */
|