Re: [PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range()

2018-03-16 Thread Chao Yu
On 2018/3/13 19:42, sunqiuyang wrote: > From: Qiuyang Sun > > Currently, we will leave the kernel with locks still held when the gc_range > is invalid. This patch fixes the bug. > > Signed-off-by: Qiuyang Sun Reviewed-by: Chao Yu

Re: [PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range()

2018-03-16 Thread Chao Yu
On 2018/3/13 19:42, sunqiuyang wrote: > From: Qiuyang Sun > > Currently, we will leave the kernel with locks still held when the gc_range > is invalid. This patch fixes the bug. > > Signed-off-by: Qiuyang Sun Reviewed-by: Chao Yu Thanks,

[PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range()

2018-03-13 Thread sunqiuyang
From: Qiuyang Sun Currently, we will leave the kernel with locks still held when the gc_range is invalid. This patch fixes the bug. Signed-off-by: Qiuyang Sun --- fs/f2fs/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range()

2018-03-13 Thread sunqiuyang
From: Qiuyang Sun Currently, we will leave the kernel with locks still held when the gc_range is invalid. This patch fixes the bug. Signed-off-by: Qiuyang Sun --- fs/f2fs/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index