diff --git a/fs/orangefs/dir.c b/fs/orangefs/dir.c index 43e3aeb529ead35f55eb7b6da9e31845efdb692e..259b667f6c8ff7ec40c4dd6a8c6103324165f52e 100644 --- a/fs/orangefs/dir.c +++ b/fs/orangefs/dir.c @@ -342,6 +342,10 @@ static int orangefs_readdir(struct file *file, struct dir_context *ctx) if (ctx->pos == ORANGEFS_ITERATE_NEXT) ctx->pos = 0; + gossip_debug(GOSSIP_DIR_DEBUG, + "%s: dirent_outcount:%d:\n", + __func__, + rhandle.readdir_response.orangefs_dirent_outcount); for (i = ctx->pos; i < rhandle.readdir_response.orangefs_dirent_outcount; i++) {