diff options
| author | Mikulas Patocka <[email protected]> | 2009-12-10 23:52:08 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2009-12-10 23:52:08 +0000 |
| commit | 102c6ddb1d081a6a1fede38c43a42c9811313ec7 (patch) | |
| tree | 2274305e73dccefa6a4620180339ec04504f93fb /include/linux/debugobjects.h | |
| parent | f5acc834287dd4f6cf712093ce0e779e38caad70 (diff) | |
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 <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Reviewed-by: Jonathan Brassow <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions