projects
/
unionfs-2.6.23.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460db4c
)
Unionfs: do not over-decrement lower superblock refs on remount
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 23:54:32 +0000
(19:54 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 23:54:32 +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 32a5887cabd84fee2de6d53ae5a34e5ccd7e5a17..8fc49e36e81e690feae4fef0e34cefa095c616c0 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 */