dm thin: clean up compiler warning
authorMike Snitzer <snitzer@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
commit17b7d63f7ed10376e762fdfadbc65da6687d569a
tree5de13953644dab7ca76b0b924558503f0c8a7860
parent7768ed33ccdc02801c4483fc5682dc66ace14aea
dm thin: clean up compiler warning

Clean up "warning: dubious: !x & y".  Also make it clear that
__snapshotted_since() returns a bool and that dm_thin_lookup_result's
'shared' member is a flag.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c
drivers/md/dm-thin-metadata.h
drivers/md/dm-thin.c