summaryrefslogtreecommitdiff
path: root/Documentation/blockdev/floppy.txt
diff options
context:
space:
mode:
authorMukesh Ojha <mukesh02@linux.vnet.ibm.com>2016-08-22 09:47:44 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-08-29 05:48:21 +0300
commita9cbf0b2195b695cbeeeecaa4e2770948c212e9a (patch)
treebce4864feacda0c3bc993909ecc752725b2ae8be /Documentation/blockdev/floppy.txt
parentcc7786d3ee7e3c979799db834b528db2c0834c2e (diff)
downloadlinux-a9cbf0b2195b695cbeeeecaa4e2770948c212e9a.tar.xz
powerpc/powernv : Drop reference added by kset_find_obj()
In a situation, where Linux kernel gets notified about duplicate error log from OPAL, it is been observed that kernel fails to remove sysfs entries (/sys/firmware/opal/elog/0xXXXXXXXX) of such error logs. This is because, we currently search the error log/dump kobject in the kset list via 'kset_find_obj()' routine. Which eventually increment the reference count by one, once it founds the kobject. So, unless we decrement the reference count by one after it found the kobject, we would not be able to release the kobject properly later. This patch adds the 'kobject_put()' which was missing earlier. Signed-off-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Cc: stable@vger.kernel.org Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/blockdev/floppy.txt')
0 files changed, 0 insertions, 0 deletions