GCC Code Coverage Report


Directory: cvmfs/
File: cvmfs/fuse_inode_gen.h
Date: 2024-04-28 02:33:07
Exec Total Coverage
Lines: 0 6 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /**
2 * This file is part of the CernVM File System.
3 */
4
5 #ifndef CVMFS_FUSE_INODE_GEN_H_
6 #define CVMFS_FUSE_INODE_GEN_H_
7
8 #include <stdint.h>
9
10 namespace cvmfs {
11
12 /**
13 * Stores the initial catalog revision (in order to detect overflows) and
14 * the incarnation (number of reloads) of the Fuse module
15 */
16 struct InodeGenerationInfo {
17 InodeGenerationInfo() {
18 version = 2;
19 initial_revision = 0;
20 incarnation = 0;
21 overflow_counter = 0;
22 inode_generation = 0;
23 }
24 unsigned version;
25 uint64_t initial_revision;
26 uint32_t incarnation;
27 uint32_t overflow_counter; // not used any more
28 uint64_t inode_generation;
29 };
30
31 } // namespace cvmfs
32
33 #endif // CVMFS_FUSE_INODE_GEN_H_
34