readdir: removed unused readdir_upcall_args.buf

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2012-02-20 14:45:31 -08:00 committed by unknown
parent 0322f53cce
commit afd1a3c0db
2 changed files with 0 additions and 3 deletions

View file

@ -462,7 +462,6 @@ static int handle_readdir(nfs41_upcall *upcall)
dprintf(1, "-> handle_nfs41_dirquery(%s,%d,%d,%d)\n",
args->filter, args->initial, args->restart, args->single);
args->buf = NULL;
args->query_reply_len = 0;
if (args->initial || args->restart) {
@ -618,7 +617,6 @@ out:
dprintf(1, "error code %d.\n", status);
break;
}
args->buf = NULL;
} else {
dprintf(1, "success!\n");
}

View file

@ -134,7 +134,6 @@ typedef struct __readdir_upcall_args {
const char *filter;
nfs41_root *root;
nfs41_open_state *state;
unsigned char *buf;
int buf_len;
int query_class;
int query_reply_len;