Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information