[Pvfs2-developers] Squashed server configuration bug

Nicholas Mills nlmills at g.clemson.edu
Thu May 22 13:59:54 EDT 2008


Hey all,

I found a bug in the error checking for PINT_parse_config(). For some
reason this function returns 0 on succes and 1 on error. The current
code in pvfs2-server.c throws an error if the return value is less
than zero, which obviously never happens. As a result the server
doesn't shut down after a configuration error.

I made a few simple changes to fix the problem. They are included in
the attached patch file.

--Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20080522/774dfe6c/config.bin


More information about the Pvfs2-developers mailing list