summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-exception-store.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2011-03-29 02:09:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-29 02:53:29 +0200
commit89078d572eb9ce8d4c04264b8b0ba86de0d74c8f (patch)
treed01104f97740c19daf01f49ae170df821a43252c /drivers/md/dm-exception-store.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff)
downloadlinux-89078d572eb9ce8d4c04264b8b0ba86de0d74c8f.tar.xz
linux-89078d572eb9ce8d4c04264b8b0ba86de0d74c8f.zip
md: Fix integrity registration error when no devices are capable
We incorrectly returned -EINVAL when none of the devices in the array had an integrity profile. This in turn prevented mdadm from starting the metadevice. Fix this so we only return errors on mismatched profiles and memory allocation failures. Reported-by: Giacomo Catenazzi <cate@cateee.net> Reported-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-exception-store.h')
0 files changed, 0 insertions, 0 deletions