projects
/
unionfs-2.6.20.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44de0bc
)
Unionfs: stop as soon as first writeable branch is found
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 15 Apr 2008 23:45:42 +0000
(19:45 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 15 Apr 2008 23:45:42 +0000
(19:45 -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 04429a1281ce8f69142a095a0439f27ce5ee85e0..2f48b6080dc6187ea807922dcee1111b19b88113 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