projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec9ae4
)
Unionfs: fix off-by-one but in mkdir
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 13 Sep 2008 03:16:26 +0000
(23:16 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:38:41 +0000
(22:38 -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 d6eb23c15507b269a0d9b5114cae9f1e992d5349..241297b55edcfa7413fed670e649181cd181ee26 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-516,7
+516,7
@@
static int unionfs_mkdir(struct inode *parent, struct dentry *dentry, int mode)
if (err)
break;
- for (i = bindex + 1; i < bend; i++) {
+ for (i = bindex + 1; i <
=
bend; i++) {
if (unionfs_lower_dentry_idx(dentry, i)) {
dput(unionfs_lower_dentry_idx(dentry, i));
unionfs_set_lower_dentry_idx(dentry, i, NULL);