Factor out seg->log_lv manipulation
PATCH 2/3 Factor out seg->log_lv manipulation
Add attach_mirror_log()/detach_mirror_log()
With the recent changes to the internal stacking management, it's mandatory to update lv->segs_using_this_lv after seg->log_lv manipulation.
To avoid future problem, the attached patch changes internal _add/remove_mirror_log() to attach/detach_mirror_log() so that functions like lvconvert can use it.
Thanks,
Signature · 8 lines
Jun'ichi Nomura, NEC Corporation of America -------------- next part -------------- A non-text attachment was scrubbed... Name: refactor-log-attach-detach.patch Type: text/x-patch Size: 7811 bytes Desc: not available URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080125/e82f5b54/attachment.bin>