projects
/
unionfs-2.6.20.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f31fce
)
Unionfs: do not over-decrement lower superblock refs on remount
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 23:54:41 +0000
(19:54 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 23:54:41 +0000
(19:54 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/super.c
b/fs/unionfs/super.c
index f2dc6392123660637b6231d045390a0d3fcac88d..b85c96aea1578e9510d110df18ee0a55de76422b 100644
(file)
--- a/
fs/unionfs/super.c
+++ b/
fs/unionfs/super.c
@@
-745,7
+745,7
@@
out_no_change:
/* grab new lower super references; release old ones */
for (i = 0; i < new_branches; i++)
atomic_inc(&new_data[i].sb->s_active);
- for (i = 0; i <
new_branches
; i++)
+ for (i = 0; i <
sbmax(sb)
; i++)
atomic_dec(&UNIONFS_SB(sb)->data[i].sb->s_active);
/* copy new vectors into their correct place */