ext4: fix potential race when freeing ext4_io_page structures
authorTheodore Ts'o <tytso@mit.edu>
Mon, 8 Nov 2010 18:45:33 +0000 (13:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 8 Nov 2010 18:45:33 +0000 (13:45 -0500)
Use an atomic_t and make sure we don't free the structure while we
might still be submitting I/O for that page.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found