diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 11:49:41 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 11:49:41 -0400 |
commit | 3cf1e7bed4681bdb1c14b6e146ae9c0afb6c1552 (patch) | |
tree | ef994734707067f4d254219048e5fbc923fb61e3 /fs/gfs2/super.h | |
parent | 2e565bb69ce2184eabf4f43e64afc79c46f46204 (diff) |
[GFS2] Remove duplicate sb reading code
For some reason we had two different sets of code for reading in the
superblock. This removes one of them in favour of the other. Also we
don't need the temporary buffer for the sb since we already have one
in the gfs2 sb itself.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.h')
-rw-r--r-- | fs/gfs2/super.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h index 5fa5119cfba..5bb443ae0f5 100644 --- a/fs/gfs2/super.h +++ b/fs/gfs2/super.h @@ -16,6 +16,7 @@ void gfs2_tune_init(struct gfs2_tune *gt); int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent); int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent); +struct page *gfs2_read_super(struct super_block *sb, sector_t sector); static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) { |