]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: take module reference when starting cifsd
authorJeff Layton <jlayton@redhat.com>
Mon, 1 Dec 2008 12:09:35 +0000 (07:09 -0500)
committerSteve French <sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:09 +0000 (02:29 +0000)
commit8c03b249bdc71d215e474bcabf16efd968bcf94b
tree93f4055fbbe3a9c740c4c272f684b9c89dd25e11
parent8c53427237a230eedef492e5cd67863c12477e0c
cifs: take module reference when starting cifsd

cifsd can outlive the last cifs mount. We need to hold a module
reference until it exits to prevent someone from unplugging
the module until we're ready.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c