Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 17:14:46 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r348308 - projects/fuse2/tests/sys/fs/fusefs
Message-ID:  <201905271714.x4RHEkUr095311@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905271714.x4RHEkUr095311>