Removed duplicates code. (#642)
authorDavid Galeano <davidgaleano@gmail.com>
Fri, 11 Feb 2022 20:07:00 +0000 (20:07 +0000)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 20:07:00 +0000 (20:07 +0000)
The cap for FUSE_CAP_WRITEBACK_CACHE was printed twice.

example/printcap.c

index 472a59760ad0f7aa4f569259f4078d995b83369f..edfd8f53139a0dc37d869975617298aba444ad81 100644 (file)
@@ -39,8 +39,6 @@ static void pc_init(void *userdata,
        printf("Protocol version: %d.%d\n", conn->proto_major,
               conn->proto_minor);
        printf("Capabilities:\n");
-       if(conn->capable & FUSE_CAP_WRITEBACK_CACHE)
-               printf("\tFUSE_CAP_WRITEBACK_CACHE\n");
        if(conn->capable & FUSE_CAP_ASYNC_READ)
                        printf("\tFUSE_CAP_ASYNC_READ\n");
        if(conn->capable & FUSE_CAP_POSIX_LOCKS)