From: Neil Brown Date: Fri, 27 Jun 2008 22:31:33 +0000 (+1000) Subject: rationalise return value for ->hot_add_disk method. X-Git-Tag: v2.6.27-rc1~957^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=199050ea1ff2270174ee525b73bc4c3323098897;p=pandora-kernel.git rationalise return value for ->hot_add_disk method. For all array types but linear, ->hot_add_disk returns 1 on success, 0 on failure. For linear, it returns 0 on success and -errno on failure. This doesn't cause a functional problem because the ->hot_add_disk function of linear is used quite differently to the others. However it is confusing. So convert all to return 0 for success or -errno on failure and fix call sites to match. Signed-off-by: Neil Brown --- Reading git-diff-tree failed