Files
linux/drivers/md
Mikulas Patocka 31f1b308a6 dm snapshot: simplify sector_to_chunk expression
commit 102c6ddb1d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-07-05 11:11:20 -07:00
..
2009-06-22 10:12:26 +01:00
2009-12-18 14:05:02 -08:00
2009-06-22 10:12:29 +01:00
2009-12-18 14:05:02 -08:00
2010-04-26 07:41:29 -07:00