Messages in this thread Patch in this message | | | From | Erez Zadok <> | Subject | [PATCH 05/12] Unionfs: stop as soon as first writeable branch is found | Date | Fri, 25 Apr 2008 18:19:01 -0400 |
| |
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/inode.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 582d08b..a1d7aaf 100644 --- 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 -- 1.5.2.2
| |