commit | 7c2e70879fc0949b4220ee61b7c4553f6976a94d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Sep 09 18:28:51 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Sep 09 18:28:51 2011 -0400 |
tree | 5eea688d4ca50ec27e9cf59144f257e1683cfeb7 | |
parent | 02fac1297eb3f471a27368271aadd285548297b0 [diff] |
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: "Theodore Ts'o" <tytso@mit.edu>