-
Andrew Morton authored
- It was racy, if two threads try to register a blockdev with major=0 they could both choose the same major for different devices. Fix that by extending the coverage of the rwsem. - kmalloced local variable `p' was leaking on an error path.
b548867b