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