diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-11-26 12:49:26 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-05 07:39:11 +0000 |
commit | b52896813c2f16bcc5c5b67bb3c3f75bc084439b (patch) | |
tree | 2da41c8c4e5ef5ab74e8d1e5bc65183e5b9d4a14 /fs/gfs2/super.h | |
parent | fdd1062ebaa422c5684f97fa91da06f91167d76b (diff) | |
download | linux-b52896813c2f16bcc5c5b67bb3c3f75bc084439b.tar.gz linux-b52896813c2f16bcc5c5b67bb3c3f75bc084439b.tar.bz2 linux-b52896813c2f16bcc5c5b67bb3c3f75bc084439b.zip |
GFS2: Fix bug in gfs2_lock_fs_check_clean()
gfs2_lock_fs_check_clean() should not be calling gfs2_jindex_hold()
since it doesn't work like rindex hold, despite the comment. That
allows gfs2_jindex_hold() to be moved into ops_fstype.c where it
can be made static.
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, 0 insertions, 1 deletions
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h index 1848dad3ecba..c6254596713a 100644 --- a/fs/gfs2/super.h +++ b/fs/gfs2/super.h @@ -25,7 +25,6 @@ static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) return x; } -int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh); void gfs2_jindex_free(struct gfs2_sbd *sdp); struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid); |