aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index d23108b1e338..b238d95ac48c 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -365,9 +365,10 @@ int nfs_readdir_search_for_cookie(struct nfs_cache_array *array, nfs_readdir_des
365 if (printk_ratelimit()) { 365 if (printk_ratelimit()) {
366 pr_notice("NFS: directory %s/%s contains a readdir loop." 366 pr_notice("NFS: directory %s/%s contains a readdir loop."
367 "Please contact your server vendor. " 367 "Please contact your server vendor. "
368 "Offending cookie: %llu\n", 368 "The file: %s has duplicate cookie %llu\n",
369 desc->file->f_dentry->d_parent->d_name.name, 369 desc->file->f_dentry->d_parent->d_name.name,
370 desc->file->f_dentry->d_name.name, 370 desc->file->f_dentry->d_name.name,
371 array->array[i].string.name,
371 *desc->dir_cookie); 372 *desc->dir_cookie);
372 } 373 }
373 status = -ELOOP; 374 status = -ELOOP;