diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-05-28 16:46:59 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-05-28 16:49:28 +0400 |
commit | d6de8be711b28049a5cb93c954722c311c7d3f7f (patch) | |
tree | 001dfc1147a64bd05798e29b15ce5d995486a6fa /lib | |
parent | 64565911cdb57c2f512a9715b985b5617402cc67 (diff) | |
download | linux-d6de8be711b28049a5cb93c954722c311c7d3f7f.tar.xz |
cfq-iosched: fix RCU problem in cfq_cic_lookup()
cfq_cic_lookup() needs to properly protect ioc->ioc_data before
dereferencing it and also exclude updaters of ioc->ioc_data as well.
Also add a number of comments documenting why the existing RCU usage
is OK.
Thanks a lot to "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> for
review and comments!
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions