[PATCH] Re: [PATCH] jbd2: add jbd2_journal_init() helper

2016-09-07 Thread Geliang Tang
On Tue, Sep 06, 2016 at 05:15:54PM +0200, Jan Kara wrote: > On Sat 03-09-16 17:33:39, Eric Ren wrote: > > Hi Geliang, > > > > On 08/31/2016 08:23 PM, Geliang Tang wrote: > > >There are some repetitive code in jbd2_journal_init_dev() and > > >jbd2_journal_init_inode(). So this patch extracts the co

Re: [PATCH] jbd2: add jbd2_journal_init() helper

2016-09-06 Thread Jan Kara
On Sat 03-09-16 17:33:39, Eric Ren wrote: > Hi Geliang, > > On 08/31/2016 08:23 PM, Geliang Tang wrote: > >There are some repetitive code in jbd2_journal_init_dev() and > >jbd2_journal_init_inode(). So this patch extracts the common code into > >jbd2_journal_init() helper to simplify the code. And

Re: [PATCH] jbd2: add jbd2_journal_init() helper

2016-09-03 Thread Eric Ren
Hi Geliang, On 08/31/2016 08:23 PM, Geliang Tang wrote: There are some repetitive code in jbd2_journal_init_dev() and jbd2_journal_init_inode(). So this patch extracts the common code into jbd2_journal_init() helper to simplify the code. And fix the coding style warnings reported by checkpatch.p

[PATCH] jbd2: add jbd2_journal_init() helper

2016-08-31 Thread Geliang Tang
There are some repetitive code in jbd2_journal_init_dev() and jbd2_journal_init_inode(). So this patch extracts the common code into jbd2_journal_init() helper to simplify the code. And fix the coding style warnings reported by checkpatch.pl by the way. Signed-off-by: Geliang Tang --- fs/jbd2/jo