From: Martin K. Petersen Date: Fri, 26 Sep 2014 23:20:00 +0000 (-0400) Subject: block: Make protection interval calculation generic X-Git-Tag: fixes-against-v3.18-rc2~51^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2aa873059fec8b6385071d9c0802893a9b2f41;p=pandora-kernel.git block: Make protection interval calculation generic Now that the protection interval has been detached from the sector size we need to be able to handle sizes that are different from 4K and 512. Make the interval calculation generic. Signed-off-by: Martin K. Petersen Reviewed-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed