For large directories, remove the artificial restriction on one
buffer's worth of directory entries - this work is done in the higher level (re)fuse readdir or getdir operation.
This commit is contained in:
parent
8f8bfb23ec
commit
607e07e6b1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: refuse.c,v 1.33 2007/02/20 23:49:15 pooka Exp $ */
|
||||
/* $NetBSD: refuse.c,v 1.34 2007/02/23 20:51:49 agc Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright © 2007 Alistair Crooks. All rights reserved.
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if !defined(lint)
|
||||
__RCSID("$NetBSD: refuse.c,v 1.33 2007/02/20 23:49:15 pooka Exp $");
|
||||
__RCSID("$NetBSD: refuse.c,v 1.34 2007/02/23 20:51:49 agc Exp $");
|
||||
#endif /* !lint */
|
||||
|
||||
#include <assert.h>
|
||||
@ -855,11 +855,6 @@ puffs_fuse_node_readdir(struct puffs_cc *pcc, void *opc,
|
||||
return ENOSYS;
|
||||
}
|
||||
|
||||
/* XXX: how to handle this??? */
|
||||
if (*readoff != 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
deh.dent = dent;
|
||||
deh.reslen = *reslen;
|
||||
deh.readoff = *readoff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user