Skip to content
Snippets Groups Projects
Commit 2b0b8c01 authored by Johann Lombardi's avatar Johann Lombardi
Browse files

Branch b1_6

Release the module reference in ll_kern_mount()

b=12546
i=green
i=shadow
parent ce79c818
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,13 @@ tbd Cluster File Systems, Inc. <info@clusterfs.com>
* Note that reiserfs quotas are disabled on SLES 10 in this kernel.
* bug fixes
Severity : normal
Frequency : 2.6.18 servers only
Bugzilla : 12546
Description: ll_kern_mount() doesn't release the module reference
Details : The ldiskfs module reference count never drops down to 0
because ll_kern_mount() doesn't release the module reference.
Severity : normal
Frequency : rare
Bugzilla : 12470
......
......@@ -497,6 +497,7 @@ ll_kern_mount(const char *fstype, int flags, const char *name, void *data)
if (!type)
return ERR_PTR(-ENODEV);
mnt = vfs_kern_mount(type, flags, name, data);
module_put(type->owner);
return mnt;
}
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment