dir.c (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) dir.c (f66debf1b3755039680289d83fe7a92a4ad3d77d)
1/*
2 * (C) 2001 Clemson University and The University of Chicago
3 *
4 * See COPYING in top-level directory.
5 */
6
7#include "protocol.h"
8#include "orangefs-kernel.h"

--- 163 unchanged lines hidden (view full) ---

172 /* are we done? */
173 if (pos == ORANGEFS_READDIR_END) {
174 gossip_debug(GOSSIP_DIR_DEBUG,
175 "Skipping to termination path\n");
176 return 0;
177 }
178
179 gossip_debug(GOSSIP_DIR_DEBUG,
1/*
2 * (C) 2001 Clemson University and The University of Chicago
3 *
4 * See COPYING in top-level directory.
5 */
6
7#include "protocol.h"
8#include "orangefs-kernel.h"

--- 163 unchanged lines hidden (view full) ---

172 /* are we done? */
173 if (pos == ORANGEFS_READDIR_END) {
174 gossip_debug(GOSSIP_DIR_DEBUG,
175 "Skipping to termination path\n");
176 return 0;
177 }
178
179 gossip_debug(GOSSIP_DIR_DEBUG,
180 "orangefs_readdir called on %s (pos=%llu)\n",
181 dentry->d_name.name, llu(pos));
180 "orangefs_readdir called on %pd (pos=%llu)\n",
181 dentry, llu(pos));
182
183 memset(&readdir_response, 0, sizeof(readdir_response));
184
185 new_op = op_alloc(ORANGEFS_VFS_OP_READDIR);
186 if (!new_op)
187 return -ENOMEM;
188
189 /*

--- 207 unchanged lines hidden ---
182
183 memset(&readdir_response, 0, sizeof(readdir_response));
184
185 new_op = op_alloc(ORANGEFS_VFS_OP_READDIR);
186 if (!new_op)
187 return -ENOMEM;
188
189 /*

--- 207 unchanged lines hidden ---