diff options
author | Jan Harkes <jaharkes@cs.cmu.edu> | 2007-07-19 01:48:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:48 -0700 |
commit | a1b0aa87647493c0201821ab884e86298d5da7d6 (patch) | |
tree | df7c97e4ae6469b238f0f507eed86d906a5539b3 /include/linux/coda_psdev.h | |
parent | 5fd31e9a67dd6c80e49240514cf854c1f054aca2 (diff) | |
download | kernel_goldelico_gta04-a1b0aa87647493c0201821ab884e86298d5da7d6.zip kernel_goldelico_gta04-a1b0aa87647493c0201821ab884e86298d5da7d6.tar.gz kernel_goldelico_gta04-a1b0aa87647493c0201821ab884e86298d5da7d6.tar.bz2 |
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>
Diffstat (limited to 'include/linux/coda_psdev.h')
-rw-r--r-- | include/linux/coda_psdev.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index f28c2f7..81b2e4c 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h @@ -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); } |