Commit 712ce6b7 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: log->bdev must be initialized for inline log

log->bdev was not being initialized.  It had not been used until
Al Viro's recent change from using bio->b_dev to bio->b_bdev.
parent e66d5915
......@@ -1072,6 +1072,7 @@ int lmLogOpen(struct super_block *sb, log_t ** logptr)
*/
log->sb = sb; /* This should be a list */
log->bdev = sb->s_bdev;
log->flag = JFS_INLINELOG;
log->base = addressPXD(&JFS_SBI(sb)->logpxd);
log->size = lengthPXD(&JFS_SBI(sb)->logpxd) >>
......
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