Re: [lxc-devel] [PATCH 1/1] parse.c: don't print error message on callback rv > 0

2013-10-18 Thread Stéphane Graber
On Fri, Oct 18, 2013 at 10:33:32AM -0500, Serge Hallyn wrote: > A callback return value < 0 means there was an error, so print > out an error message. But a rv > 0 is used by the mount_unknown_fs > functions to say "we found the one we want, stop here." > > Document this, and only print an error

[lxc-devel] [PATCH 1/1] parse.c: don't print error message on callback rv > 0

2013-10-18 Thread Serge Hallyn
A callback return value < 0 means there was an error, so print out an error message. But a rv > 0 is used by the mount_unknown_fs functions to say "we found the one we want, stop here." Document this, and only print an error message if rv < 0. Otherwise, lxc-create -B lvm --fstype ext3