Home
last modified time | relevance | path

Searched hist:"102 c6ddb1d081a6a1fede38c43a42c9811313ec7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-exception-store.hdiff 102c6ddb1d081a6a1fede38c43a42c9811313ec7 Thu Dec 10 17:52:08 CST 2009 Mikulas Patocka <mpatocka@redhat.com> 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 <mpatocka@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>