From c3b9431fc5092266c17b63afab151273e1df0243 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 7 Oct 2016 21:51:43 -0700 Subject: [PATCH] Clarify that readdir() *may* report . and .. entries. --- include/fuse_lowlevel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index f2d9caa..f40f9fa 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -605,6 +605,9 @@ struct fuse_lowlevel_ops { * Returning a directory entry from readdir() does not affect * its lookup count. * + * The function does not have to report the '.' and '..' + * entries, but is allowed to do so. + * * Valid replies: * fuse_reply_buf * fuse_reply_data -- 2.30.2