[lvm-devel] [PATCH 19/23] Warning - dead code problem elimination

Alasdair G Kergon agk at redhat.com
Wed Jan 5 02:15:37 UTC 2011


> > I think you should return DM_WAIT_RETRY if info fails then (so the code _was_ correct)?

> Jeez, I wish I knew! I don't think I wrote this code. Anyway, it would
> make sense to add ret = DM_WAIT_RETRY in the else branch (i.e. get_info
> fails). Not that this is likely to ever trigger...

Do that then.

Alasdair




More information about the lvm-devel mailing list