From: NeilBrown Date: Wed, 7 Aug 2013 23:20:32 +0000 (+1000) Subject: md: fix safe_mode buglet. X-Git-Tag: v3.12-rc1~71^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=275c51c4e34ed776d40a99dd97c1deee50303b07;p=pandora-kernel.git md: fix safe_mode buglet. Whe we set the safe_mode_timeout to a smaller value we trigger a timeout immediately - otherwise the small value might not be honoured. However if the previous timeout was 0 meaning "no timeout", we didn't. This would mean that no timeout happens until the next write completes, which could be a long time. Signed-off-by: NeilBrown --- Reading git-diff-tree failed