projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7bebe
)
Unionfs: Decrement totalopens counter on error in unionfs_open
author
Erez Zadok
<ezk@cs.sunysb.edu>
Thu, 22 Mar 2007 23:47:43 +0000
(19:47 -0400)
committer
Erez_Zadok
<ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:24 +0000
(20:50 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/commonfops.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/commonfops.c
b/fs/unionfs/commonfops.c
index 8453f2dbae4156de0de243db7950355fc47a3b46..c9df99dea83e92e68b96a7431b9b2ce8a6b8f9a9 100644
(file)
--- a/
fs/unionfs/commonfops.c
+++ b/
fs/unionfs/commonfops.c
@@
-509,6
+509,7
@@
int unionfs_open(struct inode *inode, struct file *file)
/* freeing the allocated resources, and fput the opened files */
if (err) {
+ atomic_dec(&UNIONFS_I(dentry->d_inode)->totalopens);
for (bindex = bstart; bindex <= bend; bindex++) {
hidden_file = unionfs_lower_file_idx(file, bindex);
if (!hidden_file)