From: Gu Zheng Date: Fri, 21 Feb 2014 10:10:59 +0000 (+0800) Subject: fs/bio-integrity: remove duplicate code X-Git-Tag: v3.15-rc1~135^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf36f9cfa6d3d;p=pandora-kernel.git fs/bio-integrity: remove duplicate code Most code of function bio_integrity_verify and bio_integrity_generate is the same, so introduce a help function bio_integrity_generate_verify() to remove the duplicate code. Signed-off-by: Gu Zheng Signed-off-by: Jens Axboe --- Reading git-diff-tree failed