diff options
author | 2011-12-12 10:53:02 -0500 | |
---|---|---|
committer | 2011-12-12 10:53:02 -0500 | |
commit | b5a7e97039a80fae673ccc115ce595d5b88fb4ee (patch) | |
tree | b8533e2cb3fc30da051487257cd24af6edeea83e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.2-rc5 (diff) | |
download | linux-dev-b5a7e97039a80fae673ccc115ce595d5b88fb4ee.tar.xz linux-dev-b5a7e97039a80fae673ccc115ce595d5b88fb4ee.zip |
ext4: fix ext4_end_io_dio() racing against fsync()
We need to make sure iocb->private is cleared *before* we put the
io_end structure on i_completed_io_list. Otherwise fsync() could
potentially run on another CPU and free the iocb structure out from
under us.
Reported-by: Kent Overstreet <koverstreet@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions