]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix reference leaks in f2fs_acl_create
authorChao Yu <chao2.yu@samsung.com>
Mon, 9 Mar 2015 10:18:19 +0000 (18:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:40 +0000 (15:08 -0700)
commit22dc6fd5f4f7f3e8aa4d746ab615d85a508788cf
treebae8a4029027a8f3327745eed2a074e30331f32f
parentcba02155d9b6b931ab396810a3539cf9fcef220a
f2fs: fix reference leaks in f2fs_acl_create

Our f2fs_acl_create is copied and modified from posix_acl_create to avoid
deadlock bug when inline_dentry feature is enabled.

Now, we got reference leaks in posix_acl_create, and this has been fixed in
commit 1111282e5662 ("posix_acl: fix reference leaks in posix_acl_create")
by Omar Sandoval.
https://lkml.org/lkml/2015/2/9/5

Let's fix this issue in f2fs_acl_create too.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Reviewed-by: Changman Lee <cm224.lee@ssamsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/acl.c