]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
md/raid5: Use correct IS_ERR() variation on pointer check
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 7 Jan 2017 00:31:35 +0000 (19:31 -0500)
committerShaohua Li <shli@fb.com>
Mon, 9 Jan 2017 21:58:10 +0000 (13:58 -0800)
commit32cd7cbbacf700885a2316275f188f2d5739b5f4
treee607e360f792b19fc49cd90cba645476792aaa38
parent394ed8e4743b0cfc5496fe49059fbfc2bc8eae35
md/raid5: Use correct IS_ERR() variation on pointer check

This fixes a build error on certain architectures, such as ppc64.

Fixes: 6995f0b247e("md: takeover should clear unrelated bits")
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c