diff options
author | Eryu Guan <guaneryu@gmail.com> | 2011-05-24 00:17:34 +0800 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-05-24 00:27:53 +0200 |
commit | c2b67735e5d3a419e90047b3f4179e54a39637bc (patch) | |
tree | 2b73b4e11f292f6651c5da06bc488de57592a5b2 /fs | |
parent | 9199e66528f61a06abe09f0589bbe1eecaa301a7 (diff) | |
download | linux-3.10-c2b67735e5d3a419e90047b3f4179e54a39637bc.tar.gz linux-3.10-c2b67735e5d3a419e90047b3f4179e54a39637bc.tar.bz2 linux-3.10-c2b67735e5d3a419e90047b3f4179e54a39637bc.zip |
jbd: Fix comment to match the code in journal_start()
journal_start returns an ERR_PTR() value rather than NULL on failure.
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jbd/transaction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 60d2319651b..f7ee81a065d 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c @@ -266,7 +266,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 *journal_start(journal_t *journal, int nblocks) { |