diff options
Diffstat (limited to 'include/linux/coda_psdev.h')
| -rw-r--r-- | include/linux/coda_psdev.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index 284b520934a0..72f2d2f0af91 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | #ifdef __KERNEL__ | 9 | #ifdef __KERNEL__ | 
| 10 | #include <linux/backing-dev.h> | 10 | #include <linux/backing-dev.h> | 
| 11 | #include <linux/mutex.h> | ||
| 11 | 12 | ||
| 12 | struct kstatfs; | 13 | struct kstatfs; | 
| 13 | 14 | ||
| @@ -20,6 +21,7 @@ struct venus_comm { | |||
| 20 | int vc_inuse; | 21 | int vc_inuse; | 
| 21 | struct super_block *vc_sb; | 22 | struct super_block *vc_sb; | 
| 22 | struct backing_dev_info bdi; | 23 | struct backing_dev_info bdi; | 
| 24 | struct mutex vc_mutex; | ||
| 23 | }; | 25 | }; | 
| 24 | 26 | ||
| 25 | 27 | ||
| @@ -63,7 +65,7 @@ int venus_symlink(struct super_block *sb, struct CodaFid *fid, | |||
| 63 | int venus_access(struct super_block *sb, struct CodaFid *fid, int mask); | 65 | int venus_access(struct super_block *sb, struct CodaFid *fid, int mask); | 
| 64 | int venus_pioctl(struct super_block *sb, struct CodaFid *fid, | 66 | int venus_pioctl(struct super_block *sb, struct CodaFid *fid, | 
| 65 | unsigned int cmd, struct PioctlData *data); | 67 | unsigned int cmd, struct PioctlData *data); | 
| 66 | int coda_downcall(int opcode, union outputArgs *out, struct super_block *sb); | 68 | int coda_downcall(struct venus_comm *vcp, int opcode, union outputArgs *out); | 
| 67 | int venus_fsync(struct super_block *sb, struct CodaFid *fid); | 69 | int venus_fsync(struct super_block *sb, struct CodaFid *fid); | 
| 68 | int venus_statfs(struct dentry *dentry, struct kstatfs *sfs); | 70 | int venus_statfs(struct dentry *dentry, struct kstatfs *sfs); | 
| 69 | 71 | ||
