[Ocfs2-tools-devel] [PATCH 2/9] libo2dlm: Fix a couple of bugs accessing libdlm.

Joel Becker Joel.Becker at oracle.com
Wed Aug 13 17:29:28 PDT 2008


On Wed, Aug 13, 2008 at 05:23:43PM -0700, Mark Fasheh wrote:
> On Wed, Aug 13, 2008 at 05:15:32PM -0700, Joel Becker wrote:
> > This fixes two bugs with libdlm.  First, older versions of fs/dlm could
> > return EEXIST while the filesystem is mounted.  Handle that.  Second,
> > and uninitialized dlm_ctxt sometimes prevented us from loading libdlm in
> > the first place.
> > 
> > Signed-off-by: Joel Becker <joel.becker at oracle.com>
> Signed-off-by: Mark Fasheh <mfasheh at suse.com>
> 
> Glad that the effect is the same (we won't allow an op if the node is
> mounted), but we keep a distinctive error message for this.

	Otherwise the error would be something like "Configuration
error", and boy would that be helpful!

Joel

-- 

"Well-timed silence hath more eloquence than speech."  
         - Martin Fraquhar Tupper

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list