diff options
author | Jan Kara <jack@suse.cz> | 2013-01-28 14:49:15 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-01-28 14:49:15 (GMT) |
commit | 002bd7fa3ac7441bdb36df67b2c64bc8c1be5360 (patch) | |
tree | 97b12473041ce1aea805aadb667b17028d99458d /drivers/scsi/a2091.c | |
parent | 84c17543ab5685d950da73209df0ecda26e72d3b (diff) | |
download | linux-002bd7fa3ac7441bdb36df67b2c64bc8c1be5360.tar.xz |
ext4: simplify list handling in ext4_do_flush_completed_IO()
The function splices i_completed_io_list to its private list
first. From that moment on we don't need any lock for working with
io_end structures because all io_end structure on the list are only
our own. So we can remove the other two lists in the function and free
io_end immediately after we are done with it.
CC: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/scsi/a2091.c')
0 files changed, 0 insertions, 0 deletions