Remove incorrect comment about fuse_entry_param.generation (#420)
authorAlan Somers <asomers@gmail.com>
Fri, 24 May 2019 07:54:42 +0000 (01:54 -0600)
committerNikolaus Rath <Nikolaus@rath.org>
Fri, 24 May 2019 07:54:42 +0000 (08:54 +0100)
A comment said that fuse_entry_param.generation must be non-zero.
However, I can't find anything in the kernel that requires that, and
real-world file systems don't seem to follow that advice, either.

include/fuse_lowlevel.h

index b7afe16803d08c9ff791f8ebacfe07c460f14d82..207346081ec3fc618b5dd9fa025dabc3dae4e0e1 100644 (file)
@@ -75,9 +75,6 @@ struct fuse_entry_param {
         * it must assign a new, previously unused generation number
         * to the inode at the same time.
         *
-        * The generation must be non-zero, otherwise FUSE will treat
-        * it as an error.
-        *
         */
        uint64_t generation;