commit | 5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Mar 19 12:46:40 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Mon Mar 19 12:46:40 2012 +1100 |
tree | e78d8527ae9e7be05001ed12f1cad01f8719bde0 | |
parent | 278c1ca2f254d0695d2eba79793d20ce785323ea [diff] |
md/bitmap: remove some pointless locking. There is nothing gained by holding a lock while we check if a pointer is NULL or not. If there could be a race, then it could become NULL immediately after the unlock - but there is no race here. So just remove the locking. Signed-off-by: NeilBrown <neilb@suse.de>