[fedfs-utils] [PATCH 08/13] fedfsd: Clarify debugging message

Chuck Lever chuck.lever at oracle.com
Fri Feb 1 09:20:54 PST 2013


When walking a pathname to verify each component, the debugging
message produced when the terminal component is not a directory is
misleading.

Signed-off-by: Chuck Lever <chuck.lever at oracle.com>
---

 src/fedfsd/svc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/fedfsd/svc.c b/src/fedfsd/svc.c
index db1d5b9..e99bd4c 100644
--- a/src/fedfsd/svc.c
+++ b/src/fedfsd/svc.c
@@ -255,7 +255,7 @@ fedfsd_pathwalk_check_term(const char *pathname)
 			__func__);
 		return FEDFS_ERR_EXIST;
 	case FEDFS_ERR_INVAL:
-		xlog(D_CALL, "%s: Pathname ends with a non-existant object",
+		xlog(D_CALL, "%s: Pathname does not end with a directory",
 			__func__);
 		return FEDFS_OK;
 	case FEDFS_ERR_NOTJUNCT:




More information about the fedfs-utils-devel mailing list