Commit 297e3510 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: In jfs_extendfs, brelse was being called with wrong bufferhead

parent 75fb58ee
...@@ -514,7 +514,7 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize) ...@@ -514,7 +514,7 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
mark_buffer_dirty(bh); mark_buffer_dirty(bh);
ll_rw_block(WRITE, 1, &bh2); ll_rw_block(WRITE, 1, &bh2);
wait_on_buffer(bh2); wait_on_buffer(bh2);
brelse(bh); brelse(bh2);
} }
/* write primary superblock */ /* write primary superblock */
......
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