summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-12-19 16:32:06 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 08:39:18 +0100
commitfefc03bfedeff2002f14e848ecb7c0cd77ee0b15 (patch)
tree830ec1d36b8688a70580e8c5c18ac5f40015448f /fs/gfs2/super.h
parentGFS2: Streamline alloc calculations for writes (diff)
downloadlinux-fefc03bfedeff2002f14e848ecb7c0cd77ee0b15.tar.xz
linux-fefc03bfedeff2002f14e848ecb7c0cd77ee0b15.zip
Revert "GFS2: Fix use-after-free bug on umount"
This reverts commit 78802499912f1ba31ce83a94c55b5a980f250a43. The original patch is causing problems in relation to order of operations at umount in relation to jdata files. I need to fix this a different way. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.h')
-rw-r--r--fs/gfs2/super.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h
index 4d2492b3e7ef..f6b8b00ad881 100644
--- a/fs/gfs2/super.h
+++ b/fs/gfs2/super.h
@@ -25,6 +25,8 @@ static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp)
return x;
}
+void gfs2_jindex_free(struct gfs2_sbd *sdp);
+
struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
int gfs2_jdesc_check(struct gfs2_jdesc *jd);
@@ -32,7 +34,6 @@ int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
struct gfs2_inode **ipp);
int gfs2_make_fs_rw(struct gfs2_sbd *sdp);
-int gfs2_make_fs_ro(struct gfs2_sbd *sdp);
int gfs2_statfs_init(struct gfs2_sbd *sdp);
void gfs2_statfs_change(struct gfs2_sbd *sdp,