summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_audit.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-01-12 09:03:35 +1100
committerNeilBrown <neilb@suse.de>2011-01-12 09:03:35 +1100
commitbf572541ab44240163eaa2d486b06f306a31d45a (patch)
treeef9630d692ce3681bf226877056622afd070f1c0 /drivers/tty/tty_audit.c
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5 (diff)
md: fix regression with re-adding devices to arrays with no metadata
Commit 1a855a0606 (2.6.37-rc4) fixed a problem where devices were re-added when they shouldn't be but caused a regression in a less common case that means sometimes devices cannot be re-added when they should be. In particular, when re-adding a device to an array without metadata we should always access the device, but after the above commit we didn't. This patch sets the In_sync flag in that case so that the re-add succeeds. This patch is suitable for any -stable kernel to which 1a855a0606 was applied. Cc: stable@kernel.org Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/tty/tty_audit.c')
0 files changed, 0 insertions, 0 deletions