Skip to content
Commit 7c2e7087 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: add ext4-specific kludge to avoid an oops after the disk disappears



The del_gendisk() function uninitializes the disk-specific data
structures, including the bdi structure, without telling anyone
else.  Once this happens, any attempt to call mark_buffer_dirty()
(for example, by ext4_commit_super), will cause a kernel OOPS.

Fix this for now until we can fix things in an architecturally correct
way.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 02fac129
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