summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-12-10 23:52:08 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-05 11:11:20 -0700
commit31f1b308a6b715bfd2729b832cef2d3270874169 (patch)
tree0fa78848c7783bba492e2b8704d223a00d8b3328 /security
parent3cbc79196ec9677ff39e8f187a0ba6636d1e3200 (diff)
dm snapshot: simplify sector_to_chunk expression
commit 102c6ddb1d081a6a1fede38c43a42c9811313ec7 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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions