From: Jiri Kosina Subject: Re: [PATCH UPDATED] ext2: trivial: fix typo on comments in ext2/inode.c Date: Thu, 23 Sep 2010 13:50:58 +0200 (CEST) Message-ID: References: <1283962489-15842-1-git-send-email-namhyung@gmail.com> <87eid2peb2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org To: Namhyung Kim Return-path: Received: from cantor.suse.de ([195.135.220.2]:54306 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752952Ab0IWLu7 (ORCPT ); Thu, 23 Sep 2010 07:50:59 -0400 In-Reply-To: <87eid2peb2.fsf@gmail.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Fri, 10 Sep 2010, Namhyung Kim wrote: > > 'excpet' should be 'except'. > 'ext3_get_branch' should be 'ext2_get_branch'. > > Signed-off-by: Namhyung Kim > --- > I found another one. > > diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c > index 940c961..533699c 100644 > --- a/fs/ext2/inode.c > +++ b/fs/ext2/inode.c > @@ -458,7 +458,7 @@ failed_out: > * the same format as ext2_get_branch() would do. We are calling it after > * we had read the existing part of chain and partial points to the last > * triple of that (one with zero ->key). Upon the exit we have the same > - * picture as after the successful ext2_get_block(), excpet that in one > + * picture as after the successful ext2_get_block(), except that in one > * place chain is disconnected - *branch->p is still zero (we did not > * set the last link), but branch->key contains the number that should > * be placed into *branch->p to fill that gap. > @@ -662,7 +662,7 @@ static int ext2_get_blocks(struct inode *inode, > mutex_lock(&ei->truncate_mutex); > /* > * If the indirect block is missing while we are reading > - * the chain(ext3_get_branch() returns -EAGAIN err), or > + * the chain(ext2_get_branch() returns -EAGAIN err), or > * if the chain has been changed after we grab the semaphore, > * (either because another process truncated this branch, or > * another get_block allocated this branch) re-grab the chain to see if Applied. -- Jiri Kosina SUSE Labs, Novell Inc.