From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752548AbcHPH2N (ORCPT ); Tue, 16 Aug 2016 03:28:13 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36699 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751006AbcHPH2M (ORCPT ); Tue, 16 Aug 2016 03:28:12 -0400 Date: Tue, 16 Aug 2016 08:28:02 +0100 From: Salah Triki To: Luis de Bethencourt Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, viro@zeniv.linux.org.uk, salah.triki@acm.org Subject: Re: [PATCH 1/3] befs: fix typos in datastream.c Message-ID: <20160816072802.GA3798@pc> References: <1471108281-27169-1-git-send-email-luisbg@osg.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1471108281-27169-1-git-send-email-luisbg@osg.samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 13, 2016 at 06:11:19PM +0100, Luis de Bethencourt wrote: > Signed-off-by: Luis de Bethencourt > --- > > Hi, > > This is a series of patches fixing small issues in datastream.c. > > On the process of doing the same for the rest of files. To finish cleanup > and start adding documentation and new features. > > Thanks, > Luis > > fs/befs/datastream.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c > index 6889644..b2eb5b5 100644 > --- a/fs/befs/datastream.c > +++ b/fs/befs/datastream.c > @@ -37,7 +37,7 @@ static int befs_find_brun_dblindirect(struct super_block *sb, > /** > * befs_read_datastream - get buffer_head containing data, starting from pos. > * @sb: Filesystem superblock > - * @ds: datastrem to find data with > + * @ds: datastream to find data with > * @pos: start of data > * @off: offset of data in buffer_head->b_data > * > @@ -115,7 +115,7 @@ befs_fblock2brun(struct super_block *sb, const befs_data_stream *data, > /** > * befs_read_lsmylink - read long symlink from datastream. > * @sb: Filesystem superblock > - * @ds: Datastrem to read from > + * @ds: Datastream to read from > * @buff: Buffer in which to place long symlink data > * @len: Length of the long symlink in bytes > * > @@ -183,7 +183,7 @@ befs_count_blocks(struct super_block *sb, const befs_data_stream *ds) > metablocks += ds->indirect.len; > > /* > - Double indir block, plus all the indirect blocks it mapps > + Double indir block, plus all the indirect blocks it maps. > In the double-indirect range, all block runs of data are > BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know > how many data block runs are in the double-indirect region, > @@ -397,7 +397,7 @@ befs_find_brun_indirect(struct super_block *sb, > though the double-indirect run may be several blocks long, > we can calculate which of those blocks will contain the index > we are after and only read that one. We then follow it to > - the indirect block and perform a similar process to find > + the indirect block and perform a similar process to find > the actual block run that maps the data block we are interested > in. > > -- > 2.5.1 > Signed-off-by: Salah Triki Thanks, Salah