The Samba-Bugzilla – Attachment 6059 Details for
Bug 7792
cifsd stays running after umount
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch -- instrument cifs_get_tlink
cifs_get_tlink_instrument.patch (text/plain), 505 bytes, created by
Jeff Layton
on 2010-11-11 08:28:37 UTC
(
hide
)
Description:
patch -- instrument cifs_get_tlink
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2010-11-11 08:28:37 UTC
Size:
505 bytes
patch
obsolete
>diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h >index a8d9f32..d8341e5 100644 >--- a/fs/cifs/cifsglob.h >+++ b/fs/cifs/cifsglob.h >@@ -360,8 +360,14 @@ extern void cifs_put_tlink(struct tcon_link *tlink); > static inline struct tcon_link * > cifs_get_tlink(struct tcon_link *tlink) > { >+ int ret = 0; >+ > if (tlink && !IS_ERR(tlink)) >- atomic_inc(&tlink->tl_count); >+ ret = atomic_inc_return(&tlink->tl_count); >+ if (ret >= 2) { >+ printk("tl_count=%d\n", ret); >+ dump_stack(); >+ } > return tlink; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7792
:
6058
| 6059 |
6060
|
6061
|
6063
|
6064