diff options
author | Wang YanQing <udknight@gmail.com> | 2015-06-23 18:54:45 +0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-01 01:50:06 -0400 |
commit | 1af95de6f0119d5bde02d3a811a9f3a3661e954e (patch) | |
tree | 703a419f2f4c0203683b9030450d54bfaf1f76d8 /include | |
parent | 2adc376c551943a07170cbe70f43e6d6065f8906 (diff) | |
download | linux-stable-1af95de6f0119d5bde02d3a811a9f3a3661e954e.tar.gz linux-stable-1af95de6f0119d5bde02d3a811a9f3a3661e954e.tar.bz2 linux-stable-1af95de6f0119d5bde02d3a811a9f3a3661e954e.zip |
fs:super:get_anon_bdev: fix race condition could cause dev exceed its upper limitation
Execution of get_anon_bdev concurrently and preemptive kernel all
could bring race condition, it isn't enough to check dev against
its upper limitation with equality operator only.
This patch fix it.
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions