commit | 6a51830e14529063cb2685921e1177d9af50e49a | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Apr 30 00:52:28 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 30 08:29:32 2008 -0700 |
tree | d10f96946d36928e8b4cd021be67072321eb4943 | |
parent | 7f1133cbf20bc308d73ba49f971180924e12119b [diff] |
md: fix use after free when removing rdev via sysfs rdev->mddev is no longer valid upon return from entry->store() when the 'remove' command is given. Cc: <stable@kernel.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>