coda: remove struct coda_sb_info

The sb_info structure only contains a single pointer to the character device,
there is no need for the added indirection.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jan Harkes
2007-07-19 01:48:50 -07:00
committed by Linus Torvalds
parent 5fd31e9a67
commit a1b0aa8764
4 changed files with 49 additions and 76 deletions

View File

@ -8,11 +8,6 @@
struct kstatfs;
struct coda_sb_info
{
struct venus_comm *sbi_vcomm;
};
/* communication pending/processing queues */
struct venus_comm {
u_long vc_seq;
@ -24,9 +19,9 @@ struct venus_comm {
};
static inline struct coda_sb_info *coda_sbp(struct super_block *sb)
static inline struct venus_comm *coda_vcp(struct super_block *sb)
{
return ((struct coda_sb_info *)((sb)->s_fs_info));
return (struct venus_comm *)((sb)->s_fs_info);
}