projects
/
unionfs-2.6.23.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d87852
)
Unionfs: stop as soon as first writeable branch is found
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 15 Apr 2008 17:25:45 +0000
(13:25 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 15 Apr 2008 17:25:45 +0000
(13:25 -0400)
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 504f6e92b0813c3d98223a6e6708e3546027ec1c..3408430b2679c0c76a74df7b00843b10480ae9c6 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