From 0327ead297e3cf395cced1e6690b901e445f074c Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 23 Jun 2017 17:20:11 -0500 Subject: [PATCH] afs: Improve "Corrupt directory" warning This warning is a bit confusing to see, since it doesn't say anything about AFS (making it unclear where it's coming from), and it lacks a trailing newline (making it ugly). Fix both of these. Change-Id: I92a3d07fd193bf99b545aef9b21f52d23c356a2d Reviewed-on: https://gerrit.openafs.org/12641 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/afs/LINUX/osi_vnodeops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 8e9a2ef..1e59e11 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -393,7 +393,7 @@ afs_linux_readdir(struct file *fp, void *dirbuf, filldir_t filldir) if (code) { if (!(avc->f.states & CCorrupt)) { struct cell *tc = afs_GetCellStale(avc->f.fid.Cell, READ_LOCK); - afs_warn("Corrupt directory (%d.%d.%d.%d [%s] @%lx, pos %d)", + afs_warn("afs: Corrupt directory (%d.%d.%d.%d [%s] @%lx, pos %d)\n", avc->f.fid.Cell, avc->f.fid.Fid.Volume, avc->f.fid.Fid.Vnode, avc->f.fid.Fid.Unique, tc ? tc->cellName : "", -- 1.9.4