blob: 2af3755da6cf0a201545912bd25fd0b0c575fb1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 8176cc23549f60ddd326badf61f7e268ea1af897 Mon Sep 17 00:00:00 2001
From: Pierre Carrier <pierre@gcarrier.fr>
Date: Wed, 13 Feb 2013 03:43:50 +0100
Subject: [PATCH] src/afuse.c: avoid early exit in afuse_releasedir
Should solve #1.
---
src/afuse.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/afuse.c b/src/afuse.c
index 37825ac..9c93fc6 100644
--- a/src/afuse.c
+++ b/src/afuse.c
@@ -931,6 +931,7 @@ static int afuse_releasedir(const char *path, struct fuse_file_info *fi)
if (dp)
closedir(dp);
retval = 0;
+ break;
default:
DEFAULT_CASE_INVALID_ENUM;
--
1.8.1.3
|