summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@fastmail.fm>2010-06-01 22:52:17 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2010-06-01 22:52:17 +0200
commited3b74aacf14b4fe1247dfa286e075a3744950af (patch)
tree3540f5de3305bc54a76e87d8594ca8becd756352
parent4353f4daa1b521cbc2eab05fe595ca0dfb83017f (diff)
downloadunionfs-fuse-ed3b74aacf14b4fe1247dfa286e075a3744950af.tar.gz
Improve a comment
-rw-r--r--src/findbranch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/findbranch.c b/src/findbranch.c
index 36488b3..d80f262 100644
--- a/src/findbranch.c
+++ b/src/findbranch.c
@@ -133,8 +133,7 @@ int __find_rw_branch_cutlast(const char *path, int rw_hint) {
// No branch found, so path does nowhere exist, error
if (branch < 0) goto out;
- // branch is write and we do not care which branch it is (rw_hint == -1)
- // or branch is writable and matches rw_hint
+ // Reminder rw_hint == -1 -> autodetect, we do not care which branch it is
if (uopt.branches[branch].rw
&& (rw_hint == -1 || branch == rw_hint)) goto out;