fix documentation for opendir in fuse_operations
authorCarl Edquist <edquist@cs.wisc.edu>
Tue, 22 May 2018 22:04:07 +0000 (17:04 -0500)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 24 May 2018 15:01:27 +0000 (16:01 +0100)
the filehandle from opendir is passed to releasedir - there is no
closedir function in fuse_operations

include/fuse.h

index 6f19967157a068184ef685da3278ca358c606f1f..40d5aeabad60438724cdf9f7874dd0bd68662c4a 100644 (file)
@@ -528,7 +528,7 @@ struct fuse_operations {
         * this method should check if opendir is permitted for this
         * directory. Optionally opendir may also return an arbitrary
         * filehandle in the fuse_file_info structure, which will be
-        * passed to readdir, closedir and fsyncdir.
+        * passed to readdir, releasedir and fsyncdir.
         */
        int (*opendir) (const char *, struct fuse_file_info *);