projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9adede2
)
Unionfs: do not over-decrement lower superblock refs on remount
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 25 Mar 2008 21:56:12 +0000
(17:56 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:59 +0000
(22:37 -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 e5cb2355938a7c96c056fa890651923e79a54d87..4cddc832c80de05c0d217c5bddbad1895082c638 100644
(file)
--- a/
fs/unionfs/super.c
+++ b/
fs/unionfs/super.c
@@
-755,7
+755,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 */