From: NeilBrown Date: Mon, 19 Mar 2012 01:46:40 +0000 (+1100) Subject: md/bitmap: remove some pointless locking. X-Git-Tag: v3.4-rc1~147^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54;p=pandora-kernel.git 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 --- Reading git-diff-tree failed