[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] pid files cleanup



On Fri, Jul 09, 2010 at 03:20:07PM +0200, Fabio M. Di Nitto wrote:
> Ok. Unless there is more than one dm-daemon, there is no benefit to move
> it there.
 
Code like this that we want available to both dm components and LVM components
we *move* to libdevmapper.  So just take it out of lvm-file.c and put it into
libdm-file.c with a dm_ prefix on the name and the fn prototype in libdevmapper.h
in the "file/stream manipulation" section and a comment there that it's the
caller's responsibility to unlink the file before exiting.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]