Upstream already got this fix, in a slightly different form. Use theirs.
authorDavid Given <dg@cowlark.com>
Sat, 17 Oct 2015 22:28:33 +0000 (00:28 +0200)
committerDavid Given <dg@cowlark.com>
Sat, 17 Oct 2015 22:28:33 +0000 (00:28 +0200)
commit0176058cf112b45ea8c9ba8b44c984e854038c25
tree9b424fe2bda9eb5fe70c75006623651ba1c1cd97
parent6615c25836b01626c325fc107060cefe56380941
Upstream already got this fix, in a slightly different form. Use theirs.
Kernel/dev/blkdev.c