From: NeilBrown Date: Tue, 22 May 2012 03:55:15 +0000 (+1000) Subject: md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags. X-Git-Tag: v3.5-rc1~110^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b405fe91e50c60c80e72d798025aea4917096421;p=pandora-kernel.git md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags. We currently use '&' and '|' which isn't the norm in the kernel and doesn't allow easy atomicity. So change to bit numbers and {set,clear,test}_bit. This allows us to remove a spinlock/unlock (which was dubious anyway) and some other simplifications. Signed-off-by: NeilBrown --- Reading git-diff-tree failed