X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_logmgr.c;h=83dc99db1e5b0002243d0cae5f6b01b3fbbc950e;hb=44c40f29869a02dd430beb7fed0b6ca7d8ef5e54;hp=5573e52a392d94d1a8fc25ed3d893b54aae16344;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index 5573e52a3..83dc99db1 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c @@ -161,9 +161,9 @@ do { \ /* * Global list of active external journals */ -static LIST_HEAD(jfs_external_logs); -static struct jfs_log *dummy_log = NULL; -static DECLARE_MUTEX(jfs_log_sem); +LIST_HEAD(jfs_external_logs); +struct jfs_log *dummy_log = NULL; +DECLARE_MUTEX(jfs_log_sem); /* * external references @@ -205,7 +205,7 @@ static int lmLogSync(struct jfs_log * log, int nosyncwait); * statistics */ #ifdef CONFIG_JFS_STATISTICS -static struct lmStat { +struct lmStat { uint commit; /* # of commit */ uint pagedone; /* # of page written */ uint submitted; /* # of pages submitted */ @@ -1435,8 +1435,6 @@ int lmLogInit(struct jfs_log * log) * unwind on error */ errout30: /* release log page */ - log->wqueue = NULL; - bp->l_wqnext = NULL; lbmFree(bp); errout20: /* release log superblock */