projects
/
unionfs-2.6.27.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bfa4ee
)
Unionfs: stop as soon as first writeable branch is found
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 6 Apr 2008 01:02:23 +0000
(21:02 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 22 Nov 2013 23:55:43 +0000
(18:55 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/inode.c
b/fs/unionfs/inode.c
index 582d08b53fd7aef2187935dece731a22fbda8dd2..a1d7aafe43a9725d6482a8ecb4e75fa61e71dda8 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-128,6
+128,8
@@
begin:
err = check_for_whiteout(dentry, lower_dentry);
if (err)
continue;
+ /* if get here, we can write to the branch */
+ break;
}
/*
* If istart wasn't already branch 0, and we got any error, then try