libata: widen Crucial M550 blacklist matching
authorTejun Heo <tj@kernel.org>
Mon, 18 Aug 2014 21:40:09 +0000 (17:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:52:10 +0000 (14:52 -0700)
commitf094737d6ad87244c85c17c3c0b8350bf52686f1
tree7dbbef5a70cfbe2f90302d19a071489ebdd393cb
parentb3ef06ed79985b3815871948779495fa56bd01b6
libata: widen Crucial M550 blacklist matching

commit 2a13772a144d2956a7fedd18685921d0a9b8b783 upstream.

Crucial M550 may cause data corruption on queued trims and is
blacklisted.  The pattern used for it fails to match 1TB one as the
capacity section will be four chars instead of three.  Widen the
pattern.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Charles Reiss <woggling@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81071
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/libata-core.c