summaryrefslogtreecommitdiffstats
path: root/samples/uhid
diff options
context:
space:
mode:
authorDebabrata Banerjee <dbanerje@akamai.com>2014-12-10 15:45:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:09 -0800
commitb208d54b75399b276b05f9e70cce8d3a59a42547 (patch)
tree6fceaa2169ca97be38c6dd7561542194dbca553b /samples/uhid
parent710585d4922fd315f2cada8fbe550ae8ed23e994 (diff)
downloadop-kernel-dev-b208d54b75399b276b05f9e70cce8d3a59a42547.zip
op-kernel-dev-b208d54b75399b276b05f9e70cce8d3a59a42547.tar.gz
procfs: fix error handling of proc_register()
proc_register() error paths are leaking inodes and directory refcounts. Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud