From: NeilBrown Date: Mon, 21 Jul 2008 07:05:25 +0000 (+1000) Subject: md: only count actual openers as access which prevent a 'stop' X-Git-Tag: v2.6.27-rc1~957^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ea68cf42aafdd93393b6b8b20fc3c2b5f4390c;p=pandora-kernel.git md: only count actual openers as access which prevent a 'stop' Open isn't the only thing that increments ->active. e.g. reading /proc/mdstat will increment it briefly. So to avoid false positives in testing for concurrent access, introduce a new counter that counts just the number of times the md device it open. Signed-off-by: NeilBrown --- Reading git-diff-tree failed