projects
/
unionfs-2.6.24.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b964648
)
Unionfs: do not over-decrement lower superblock refs on remount
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 23:54:31 +0000
(19:54 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 19 Jul 2008 03:22:57 +0000
(23:22 -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 6ac4abb1be0af653ad5847e928a0c454bf0d9ee2..0b54a9d4edc54277d44c594a689edff20b0d9cb5 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 */