diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index ffd4feece..21d442de2 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -358,6 +358,9 @@ tid_t txBegin(struct super_block *sb, int flag) INCREMENT(TxStat.txBegin); + if (!log) + jfs_error(sb, "%s: log is NULL\n", __func__); + retry: if (!(flag & COMMIT_FORCE)) { /*