volser: Ignore duplicate file tags when restoring 31/2531/1
authorAndrew Deason <adeason@sinenomine.net>
Fri, 6 Aug 2010 19:32:16 +0000 (14:32 -0500)
committerAndrew Deason <adeason@sinenomine.net>
Tue, 10 Aug 2010 17:39:34 +0000 (12:39 -0500)
commitce52c0dbc6aa55974cc9cb0cccd1cbdb0e868121
treebb7cf0aae0c2834040ebfb40f408f9b0081a61fe
parent9da5e4700b81be7d78e4fc54bc4dd31d582be349
volser: Ignore duplicate file tags when restoring

Currently, if the volserver encounters multiple file tags for a vnode
when restoring a volume dump, it will create extra vnodes which are
not recorded anywhere, and are leaked when the volume is removed.
Instead of doing that, ignore any duplicate file tags that are
encountered (which is what happens with other tags), and log a
warning.

Change-Id: I1ac76b0217096d013db355b899f1a53174d20eb5
src/volser/dumpstuff.c