]> sourceware.org Git - lvm2.git/commit
Reset _vgs_locked in lvmcache_init()
authorMike Snitzer <snitzer@redhat.com>
Mon, 11 Jan 2010 19:08:18 +0000 (19:08 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 11 Jan 2010 19:08:18 +0000 (19:08 +0000)
commitbeacd0b3034f6d065e5777ea2c89b5d2be9aacdc
tree419e635db948d3239560a698545ec9947cd8045b
parent68427c03e9149dd4bd8bfec21e14e60733f916bb
Reset _vgs_locked in lvmcache_init()

Upon successful fork(), _become_daemon() must assert that the locks that
are currently held belong to the parent, not the child.  All of the
child's internal state saying 'this process holds a lock' has to be
reset.

A proper lvmcache_locking_reset() should follow later.
lib/cache/lvmcache.c
This page took 0.054202 seconds and 5 git commands to generate.