Re: [f2fs-dev] [PATCH v3 01/10] kobject: introduce kobject_del_and_put()

2023-03-22 Thread Ming Lei
On Thu, Mar 23, 2023 at 12:58:30AM +0800, Yangtao Li wrote: > There are plenty of using kobject_del() and kobject_put() together > in the kernel tree. This patch wraps these two calls in a single helper. > > Signed-off-by: Yangtao Li > --- > v3: > -convert to inline helper > v2: > -add

Re: [f2fs-dev] [PATCH] f2fs: fix align check for npo2

2023-03-22 Thread kernel test robot
in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Yohan-Joung/f2fs-fix-align-check-for-npo2/20230322-211529 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test patch link: https

Re: [f2fs-dev] [PATCH v3 01/10] kobject: introduce kobject_del_and_put()

2023-03-22 Thread Damien Le Moal via Linux-f2fs-devel
On 3/23/23 01:58, Yangtao Li wrote: > There are plenty of using kobject_del() and kobject_put() together > in the kernel tree. This patch wraps these two calls in a single helper. > > Signed-off-by: Yangtao Li > --- > v3: > -convert to inline helper > v2: > -add kobject_del_and_put() users >

Re: [f2fs-dev] [PATCH v3 02/10] f2fs: convert to kobject_del_and_put()

2023-03-22 Thread Damien Le Moal via Linux-f2fs-devel
On 3/23/23 01:58, Yangtao Li wrote: > Use kobject_del_and_put() to simplify code. > > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Cc: Damien Le Moal > Signed-off-by: Yangtao Li Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research

[f2fs-dev] [PATCH v3 02/10] f2fs: convert to kobject_del_and_put()

2023-03-22 Thread Yangtao Li via Linux-f2fs-devel
Use kobject_del_and_put() to simplify code. Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Damien Le Moal Signed-off-by: Yangtao Li --- fs/f2fs/sysfs.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index

[f2fs-dev] [PATCH v3 01/10] kobject: introduce kobject_del_and_put()

2023-03-22 Thread Yangtao Li via Linux-f2fs-devel
There are plenty of using kobject_del() and kobject_put() together in the kernel tree. This patch wraps these two calls in a single helper. Signed-off-by: Yangtao Li --- v3: -convert to inline helper v2: -add kobject_del_and_put() users include/linux/kobject.h | 13 + lib/kobject.c

[f2fs-dev] [PATCH] f2fs: fix align check for npo2

2023-03-22 Thread Yohan Joung
Fix alignment check to be correct in npo2 as well Signed-off-by: Yohan Joung --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 055e70e77aa2..46458085a8d0 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@