[lvm-devel] [PATCH] (2/11) various minor cleanups

Alasdair G Kergon agk at redhat.com
Wed Nov 5 16:28:19 UTC 2008


On Wed, Nov 05, 2008 at 10:54:24AM -0500, Dave Wysochanski wrote:
> On Thu, 2008-10-30 at 18:52 +0100, Petr Rockai wrote:
> > +               log_error("Attempted to write unlocked VG's device.");

> Probably want a WHATS_NEW comment like:
> Do not allow dev_write() to proceed unless a VG write lock is held.
 
And make the error message useful by including specific details in it:-)

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list