projects
/
unionfs-2.6.22.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c6bdc
)
Unionfs: fix off-by-one but in mkdir
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 04:02:56 +0000
(
00:02
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 04:02:56 +0000
(
00:02
-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 3b1ae5f94f06af927925e54935a6b3ca37094046..41a0b1c19615bd72f560aa4a6e439172e00549fe 100644
(file)
--- a/
fs/unionfs/inode.c
+++ b/
fs/unionfs/inode.c
@@
-508,7
+508,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);