Skip to content

Commit d327e61

Browse files
committed
befs: fix typos in datastream.c
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Salah Triki <salah.triki@gmail.com>
1 parent 02d91f9 commit d327e61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fs/befs/datastream.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static int befs_find_brun_dblindirect(struct super_block *sb,
3737
/**
3838
* befs_read_datastream - get buffer_head containing data, starting from pos.
3939
* @sb: Filesystem superblock
40-
* @ds: datastrem to find data with
40+
* @ds: datastream to find data with
4141
* @pos: start of data
4242
* @off: offset of data in buffer_head->b_data
4343
*
@@ -115,7 +115,7 @@ befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
115115
/**
116116
* befs_read_lsmylink - read long symlink from datastream.
117117
* @sb: Filesystem superblock
118-
* @ds: Datastrem to read from
118+
* @ds: Datastream to read from
119119
* @buff: Buffer in which to place long symlink data
120120
* @len: Length of the long symlink in bytes
121121
*
@@ -183,7 +183,7 @@ befs_count_blocks(struct super_block *sb, const befs_data_stream *ds)
183183
metablocks += ds->indirect.len;
184184

185185
/*
186-
Double indir block, plus all the indirect blocks it mapps
186+
Double indir block, plus all the indirect blocks it maps.
187187
In the double-indirect range, all block runs of data are
188188
BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know
189189
how many data block runs are in the double-indirect region,
@@ -397,7 +397,7 @@ befs_find_brun_indirect(struct super_block *sb,
397397
though the double-indirect run may be several blocks long,
398398
we can calculate which of those blocks will contain the index
399399
we are after and only read that one. We then follow it to
400-
the indirect block and perform a similar process to find
400+
the indirect block and perform a similar process to find
401401
the actual block run that maps the data block we are interested
402402
in.
403403

0 commit comments

Comments
 (0)