projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6d27f
)
f2fs: free sysfs kobject
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Sat, 14 Dec 2019 02:32:16 +0000
(18:32 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:34:48 +0000
(08:34 +0100)
[ Upstream commit
820d366736c949ffe698d3b3fe1266a91da1766d
]
Detected kmemleak.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/sysfs.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/sysfs.c
b/fs/f2fs/sysfs.c
index
9888718
..
b405548
100644
(file)
--- a/
fs/f2fs/sysfs.c
+++ b/
fs/f2fs/sysfs.c
@@
-711,4
+711,5
@@
void f2fs_unregister_sysfs(struct f2fs_sb_info *sbi)
remove_proc_entry(sbi->sb->s_id, f2fs_proc_root);
}
kobject_del(&sbi->s_kobj);
+ kobject_put(&sbi->s_kobj);
}