Commit 0f2c31e8 authored by Dave Kleikamp's avatar Dave Kleikamp

Merge shaggy.austin.ibm.com:/home/shaggy/bk/linus-2.5

into shaggy.austin.ibm.com:/home/shaggy/bk/jfs-2.5
parents 6aa1161d a9f1ac69
...@@ -1415,6 +1415,10 @@ void jfs_flush_journal(struct jfs_log *log, int wait) ...@@ -1415,6 +1415,10 @@ void jfs_flush_journal(struct jfs_log *log, int wait)
int i; int i;
struct tblock *target; struct tblock *target;
if (!log)
/* jfs_write_inode may call us during read-only mount */
return;
jfs_info("jfs_flush_journal: log:0x%p wait=%d", log, wait); jfs_info("jfs_flush_journal: log:0x%p wait=%d", log, wait);
LOGGC_LOCK(log); LOGGC_LOCK(log);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment