[08/13] fedfsd: Clarify debugging message

Submitted by Chuck Lever on Feb. 1, 2013, 5:20 p.m.

Details

Message ID 20130201172053.63192.95070.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Feb. 1, 2013, 5:20 p.m.
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@oracle.com>
---

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

Patch hide | download patch | download mbox

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: