utils.hh (7fc0921d7e3c52f66ca8e47c0413ee46f6d73328) utils.hh (ed74f781c9f704092556f860a00b0bb53fdedff7)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2019 The FreeBSD Foundation
5 *
6 * This software was developed by BFF Storage Systems, LLC under sponsorship
7 * from the FreeBSD Foundation.
8 *

--- 43 unchanged lines hidden (view full) ---

52 bool m_allow_other;
53 bool m_default_permissions;
54 uint32_t m_kernel_minor_version;
55 enum poll_method m_pm;
56 bool m_push_symlinks_in;
57 bool m_ro;
58 bool m_async;
59 bool m_noclusterr;
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2019 The FreeBSD Foundation
5 *
6 * This software was developed by BFF Storage Systems, LLC under sponsorship
7 * from the FreeBSD Foundation.
8 *

--- 43 unchanged lines hidden (view full) ---

52 bool m_allow_other;
53 bool m_default_permissions;
54 uint32_t m_kernel_minor_version;
55 enum poll_method m_pm;
56 bool m_push_symlinks_in;
57 bool m_ro;
58 bool m_async;
59 bool m_noclusterr;
60 bool m_nointr;
60 unsigned m_time_gran;
61 MockFS *m_mock = NULL;
62 const static uint64_t FH = 0xdeadbeef1a7ebabe;
63
64 public:
65 int m_maxbcachebuf;
66 int m_maxphys;
67

--- 4 unchanged lines hidden (view full) ---

72 m_allow_other(false),
73 m_default_permissions(false),
74 m_kernel_minor_version(FUSE_KERNEL_MINOR_VERSION),
75 m_pm(BLOCKING),
76 m_push_symlinks_in(false),
77 m_ro(false),
78 m_async(false),
79 m_noclusterr(false),
61 unsigned m_time_gran;
62 MockFS *m_mock = NULL;
63 const static uint64_t FH = 0xdeadbeef1a7ebabe;
64
65 public:
66 int m_maxbcachebuf;
67 int m_maxphys;
68

--- 4 unchanged lines hidden (view full) ---

73 m_allow_other(false),
74 m_default_permissions(false),
75 m_kernel_minor_version(FUSE_KERNEL_MINOR_VERSION),
76 m_pm(BLOCKING),
77 m_push_symlinks_in(false),
78 m_ro(false),
79 m_async(false),
80 m_noclusterr(false),
81 m_nointr(false),
80 m_time_gran(1)
81 {}
82
83 virtual void SetUp();
84
85 virtual void TearDown() {
86 if (m_mock)
87 delete m_mock;

--- 147 unchanged lines hidden ---
82 m_time_gran(1)
83 {}
84
85 virtual void SetUp();
86
87 virtual void TearDown() {
88 if (m_mock)
89 delete m_mock;

--- 147 unchanged lines hidden ---