[PATCH] ext3: fix deadlock in journal_create()
From: Mark Fasheh <mark.fasheh@oracle.com> journal_create() is called under down_write(s_umount) on the mount path. But it calls fsync_bdev(), which wants down_write(s_umount). Change journal_create() to run sync_blockdev() instead. Just to write out the new journal's blocks.
Showing
Please register or sign in to comment