jbd2: Fix comment to match the code in jbd2__journal_start()
PATCH 1/1 jbd2: Fix comment to match the code in jbd2__journal_start()
jbd2__journal_start() returns an ERR_PTR() value rather than NULL on failure.
--- fs/jbd2/transaction.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
fs/jbd2/transaction.c +2 -1
@@ -316,7 +316,8 @@ static handle_t *new_handle(int nblocks)* This function is visible to journal users (like ext3fs), so is not * called with the journal already locked. * -* Return a pointer to a newly allocated handle, or NULL on failure +* Return a pointer to a newly allocated handle, or an ERR_PTR() value +* on failure. */ handle_t *jbd2__journal_start (journal_t *journal,int nblocks,int gfp_mask) {
Signature · 1 line
1.7.3.4
Quoted 5 lines · Eryu Guan
jbd2__journal_start()returns anERR_PTR()value rather than NULL on failure.Cc Jan Kara <[email protected]>Signed-off-by Eryu Guan <[email protected]>
Thanks, but please include Ted Ts'o <[email protected]> in JBD2 patches.
Thanks.
Ted, I've realized that MAINTAINERS has only entry like:
JOURNALLING LAYER FOR BLOCK DEVICES (JBD)
M: Andrew Morton <[email protected]> M: Jan Kara <[email protected]> L: [email protected] S: Maintained F: fs/jbd*/ F: include/linux/ext*jbd*.h F: include/linux/jbd*.h
I guess you should add a separate entry for JBD2 so that people will find you ;).
Honza
Quoted 21 lines
--- fs/jbd2/transaction.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)fs/jbd2/transaction.c +2
-1@@ -316,7 +316,8 @@ static handle_t *new_handle(int nblocks)* This function is visible to journal users (like ext3fs), so is not * called with the journal already locked. * -* Return a pointer to a newly allocated handle, or NULL on failure +* Return a pointer to a newly allocated handle, or an ERR_PTR() value +* on failure. */ handle_t *jbd2__journal_start (journal_t *journal,int nblocks,int gfp_mask) {Signature · 1 line
1.7.3.4
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Ted Ts'o
maintainerQuoted 5 lines · Eryu Guan
jbd2__journal_start()returns anERR_PTR()value rather than NULL on failure.Cc Jan Kara <[email protected]>Signed-off-by Eryu Guan <[email protected]>
Thanks, added to the ext4 tree.
- Ted
Theodore Ts'o
maintainerPATCH 1/1 jbd2: Add MAINTAINERS entry
In reply to Jan KaraCreate a separate MAINTAINERS entry for jbd2
--- MAINTAINERS | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-)
MAINTAINERS +10 -3
@@ -3552,9 +3552,16 @@ M: Andrew Morton <[email protected]> M: Jan Kara <[email protected]> L: [email protected] S: Maintained -F: fs/jbd*/ -F: include/linux/ext*jbd*.h -F: include/linux/jbd*.h +F: fs/jbd/ +F: include/linux/ext3_jbd.h +F: include/linux/jbd.h + +JOURNALLING LAYER FOR BLOCK DEVICES (JBD2) +M: "Theodore Ts'o" <[email protected]> +L: [email protected] +S: Maintained +F: fs/jbd2/ +F: include/linux/jbd2.h JSM Neo PCI based serial card M: Breno Leitao <[email protected]>
Signature · 1 line
1.7.3.1
Re: [PATCH] jbd2: Add MAINTAINERS entry
Quoted 4 lines · Ted Tso
Create a separate
MAINTAINERSentry for jbd2Cc Jan Kara <[email protected]>Signed-off-by "Theodore Ts'o" <[email protected]>
Honza
Quoted 31 lines
--- MAINTAINERS | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-)MAINTAINERS +10
-3@@ -3552,9 +3552,16 @@ M: Andrew Morton <[email protected]> M: Jan Kara <[email protected]> L: [email protected] S: Maintained -F: fs/jbd*/ -F: include/linux/ext*jbd*.h -F: include/linux/jbd*.h +F: fs/jbd/ +F: include/linux/ext3_jbd.h +F: include/linux/jbd.h + +JOURNALLING LAYER FOR BLOCK DEVICES (JBD2) +M: "Theodore Ts'o" <[email protected]> +L: [email protected] +S: Maintained +F: fs/jbd2/ +F: include/linux/jbd2.h JSM Neo PCI based serial card M: Breno Leitao <[email protected]>Signature · 1 line
1.7.3.1
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR