svn commit: r348308 - projects/fuse2/tests/sys/fs/fusefs
Alan Somers
asomers at FreeBSD.org
Mon May 27 17:14:47 UTC 2019
Author: asomers
Date: Mon May 27 17:14:46 2019
New Revision: 348308
URL: https://svnweb.freebsd.org/changeset/base/348308
Log:
fusefs: remove obsolete comments in the tests
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/tests/sys/fs/fusefs/lookup.cc
projects/fuse2/tests/sys/fs/fusefs/utils.hh
Modified: projects/fuse2/tests/sys/fs/fusefs/lookup.cc
==============================================================================
--- projects/fuse2/tests/sys/fs/fusefs/lookup.cc Mon May 27 17:08:16 2019 (r348307)
+++ projects/fuse2/tests/sys/fs/fusefs/lookup.cc Mon May 27 17:14:46 2019 (r348308)
@@ -291,12 +291,6 @@ TEST_F(Lookup, entry_cache_timeout)
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
}
-// TODO: export_support
-// After upgrading the protocol to 7.10, check that the kernel will only
-// attempt to lookup "." and ".." if the filesystem sets FUSE_EXPORT_SUPPORT in
-// the init flags. If not, then all lookups for those entries will return
-// ESTALE.
-
TEST_F(Lookup, ok)
{
const char FULLPATH[] = "mountpoint/some_file.txt";
Modified: projects/fuse2/tests/sys/fs/fusefs/utils.hh
==============================================================================
--- projects/fuse2/tests/sys/fs/fusefs/utils.hh Mon May 27 17:08:16 2019 (r348307)
+++ projects/fuse2/tests/sys/fs/fusefs/utils.hh Mon May 27 17:14:46 2019 (r348308)
@@ -28,15 +28,6 @@
* SUCH DAMAGE.
*/
-/*
- * TODO: remove FUSE_WRITE_CACHE definition when upgrading to protocol 7.9.
- * This bit was actually part of kernel protocol version 7.2, but never
- * documented until 7.9
- */
-#ifndef FUSE_WRITE_CACHE
-#define FUSE_WRITE_CACHE 1
-#endif
-
/* Nanoseconds to sleep, for tests that must */
#define NAP_NS (100'000'000)
More information about the svn-src-projects
mailing list