GFS2: Fix bug in gfs2_lock_fs_check_clean()
From 40b5ee6e32c218b58711236880a0390ba5690613 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Wed, 26 Nov 2008 12:49:26 +0000
Subject: [PATCH] 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 <[email protected]>
fs/gfs2/dir.h +1 -0
@@ -11,6 +11,7 @@#define __DIR_DOT_H__#include <linux/dcache.h> +#include <linux/crc32.h> struct inode ;struct gfs2_inode ;
fs/gfs2/ops_fstype.c +67 -0
79 lines not on this page · raw message
fs/gfs2/super.c +0 -74
86 lines not on this page · raw message
fs/gfs2/super.h +0 -1
@@ -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);
Signature · 1 line
1.5.5.1