Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librefuse Set eofflag in puffs_fuse_node_readdir() from ...
details: https://anonhg.NetBSD.org/src/rev/4e97daddd240
branches: trunk
changeset: 771521:4e97daddd240
user: manu <manu%NetBSD.org@localhost>
date: Thu Nov 24 01:56:22 2011 +0000
description:
Set eofflag in puffs_fuse_node_readdir() from librefuse.
>From Evgeniy Ivanov <lolkaantimat%gmail.com@localhost>
diffstat:
lib/librefuse/refuse.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 2c3ba2141dae -r 4e97daddd240 lib/librefuse/refuse.c
--- a/lib/librefuse/refuse.c Thu Nov 24 01:55:33 2011 +0000
+++ b/lib/librefuse/refuse.c Thu Nov 24 01:56:22 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refuse.c,v 1.94 2011/07/09 17:16:46 tron Exp $ */
+/* $NetBSD: refuse.c,v 1.95 2011/11/24 01:56:22 manu Exp $ */
/*
* Copyright © 2007 Alistair Crooks. All rights reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: refuse.c,v 1.94 2011/07/09 17:16:46 tron Exp $");
+__RCSID("$NetBSD: refuse.c,v 1.95 2011/11/24 01:56:22 manu Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -1139,6 +1139,9 @@
return -ret;
}
+ /* Both op.readdir and op.getdir read full directory */
+ *eofflag = 1;
+
/* now, stuff results into the kernel buffers */
while (*readoff < (off_t)(dirh->bufsize - dirh->reslen)) {
/*LINTED*/
Home |
Main Index |
Thread Index |
Old Index