Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | exportfs: exit with error code if there was any error (take 2). | NeilBrown | 2013-11-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | exportfs currently exits with a non-zero error for some errors, but not for others. It does this by having various support routines set the global variable "export_errno". Change this to have 'xlog' set export_errno if an ERROR is reported. That way all errors will be caught. Note that the exit error code is changed from 22 (EINVAL) to the more traditional '1'. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com> | ||||
* | Cleanup xlog logging code to be safe and usable for all | Kevin Coffman | 2007-10-15 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | This patch reworks the xlog logging code to avoid rebuilding the message into a fixed size buffer. It also adds two new logging functions xlog_warn and xlog_err which are replacements for idmap_warn and idmap_err. There use to be two different variates of these functions with the only difference being that one flavor tacked on the error string to the end of the message. This responsibility has been pushed to the called of the function since it needlessly complicated the function and required us to rebuild the message strings. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de> | ||||
* | Sanitise stderr logging. | neilbrown | 2005-03-14 | 1 | -1/+5 |
| | |||||
* | Initial revision | hjl | 1999-10-18 | 1 | -0/+40 |