projects
/
unionfs-2.6.26.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d98c17
)
Unionfs: fix off-by-one but in mkdir
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 01:49:47 +0000
(21:49 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 01:43:38 +0000
(20:43 -0500)
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 2ad8c543eb7214f022e60c4128ceb8d7359daba5..84efb306ce9569a9b046c02d6d63440128581e70 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-517,7
+517,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);