cifs: fix module refcount leak in find_domain_name
authorJeff Layton <jlayton@redhat.com>
Wed, 6 Oct 2010 23:51:12 +0000 (19:51 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 8 Oct 2010 03:33:08 +0000 (03:33 +0000)
commitccc46a7402200a3b28a8fa1605ea5405a9ef66f7
tree5b80d775dcda91764711ab685bbd2c91c9eb955d
parent2de970ff69bbcc5a4b7440df669a595b2b1acd73
cifs: fix module refcount leak in find_domain_name

find_domain_name() uses load_nls_default which takes a module reference
on the appropriate NLS module, but doesn't put it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsencrypt.c