patch-2.3.45 linux/include/linux/fs.h
Next file: linux/include/linux/i2c-id.h
Previous file: linux/include/linux/adfs_fs_i.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sun Feb 13 19:04:14 2000
- Orig file:
v2.3.44/linux/include/linux/fs.h
- Orig date:
Sat Feb 12 11:22:11 2000
diff -u --recursive --new-file v2.3.44/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -349,7 +349,8 @@
unsigned long nrpages; /* number of pages */
struct address_space_operations *a_ops; /* methods */
void *host; /* owner: inode, block_device */
- void *private; /* private data */
+ struct vm_area_struct *i_mmap; /* list of mappings */
+ spinlock_t i_shared_lock; /* and spinlock protecting it */
};
struct block_device {
@@ -387,10 +388,8 @@
struct super_block *i_sb;
wait_queue_head_t i_wait;
struct file_lock *i_flock;
- struct vm_area_struct *i_mmap;
- struct address_space *i_mapping;
+ struct address_space *i_mapping;
struct address_space i_data;
- spinlock_t i_shared_lock;
struct dquot *i_dquot[MAXQUOTAS];
struct pipe_inode_info *i_pipe;
struct block_device *i_bdev;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])