Skip to content

Commit

Permalink
apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-lewandowski committed Dec 19, 2023
1 parent 27573ef commit 438ae75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/java/org/apache/cassandra/service/StartupChecks.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ public void verify(StartupChecksOptions options) throws StartupException
// https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843
public static final StartupCheck checkKernelBug1057843 = new StartupCheck()
{
private final Set<String> affectedFileSystemTypes = Set.of("ext4");

@Override
public void execute(StartupChecksOptions startupChecksOptions) throws StartupException
{
Expand All @@ -214,6 +212,7 @@ public void execute(StartupChecksOptions startupChecksOptions) throws StartupExc
return;
}

Set<String> affectedFileSystemTypes = Set.of("ext4");
Set<Path> affectedPaths = new HashSet<>();
for (Path path : directIOWritePaths)
{
Expand Down

0 comments on commit 438ae75

Please sign in to comment.