cifs: take module reference when starting cifsd
commit0468a2cf914e79442b8309ce62e3f861599d8cab
authorJeff Layton <jlayton@redhat.com>
Mon, 1 Dec 2008 12:09:35 +0000 (1 07:09 -0500)
committerSteve French <sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:09 +0000 (26 02:29 +0000)
tree93f4055fbbe3a9c740c4c272f684b9c89dd25e11
parent80909022ce966191e6140fcc15d8aff57a7df32e
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