From: Mikulas Patocka Date: Thu, 10 Dec 2009 23:52:08 +0000 (+0000) Subject: dm snapshot: simplify sector_to_chunk expression X-Git-Tag: v2.6.33-rc1~75^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=102c6ddb1d081a6a1fede38c43a42c9811313ec7;p=pandora-kernel.git dm snapshot: simplify sector_to_chunk expression Removed unnecessary 'and' masking: The right shift discards the lower bits so there is no need to clear them. (A later patch needs this change to support a 32-bit chunk_mask.) Signed-off-by: Mikulas Patocka Reviewed-by: Mike Snitzer Reviewed-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed