diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-10 02:28:51 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-10 02:28:51 +0400 |
commit | 7c2e70879fc0949b4220ee61b7c4553f6976a94d (patch) | |
tree | 5eea688d4ca50ec27e9cf59144f257e1683cfeb7 /fs/squashfs/xattr_id.c | |
parent | 02fac1297eb3f471a27368271aadd285548297b0 (diff) | |
download | linux-7c2e70879fc0949b4220ee61b7c4553f6976a94d.tar.xz |
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>
Diffstat (limited to 'fs/squashfs/xattr_id.c')
0 files changed, 0 insertions, 0 deletions