aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-08-13 13:11:19 -0400
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 05:01:35 -0400
commitd327e612bd1f854f08bc4c419122a41440455cbe (patch)
treed6597a2cab1e73bd0455e3ead74da10e9b63d355 /fs/befs
parent02d91f97fdd62e1d01191e3bb1c42092bd807951 (diff)
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>
Diffstat (limited to 'fs/befs')
-rw-r--r--fs/befs/datastream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c
index 6889644e65f8..b2eb5b5cdff2 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,
37/** 37/**
38 * befs_read_datastream - get buffer_head containing data, starting from pos. 38 * befs_read_datastream - get buffer_head containing data, starting from pos.
39 * @sb: Filesystem superblock 39 * @sb: Filesystem superblock
40 * @ds: datastrem to find data with 40 * @ds: datastream to find data with
41 * @pos: start of data 41 * @pos: start of data
42 * @off: offset of data in buffer_head->b_data 42 * @off: offset of data in buffer_head->b_data
43 * 43 *
@@ -115,7 +115,7 @@ befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
115/** 115/**
116 * befs_read_lsmylink - read long symlink from datastream. 116 * befs_read_lsmylink - read long symlink from datastream.
117 * @sb: Filesystem superblock 117 * @sb: Filesystem superblock
118 * @ds: Datastrem to read from 118 * @ds: Datastream to read from
119 * @buff: Buffer in which to place long symlink data 119 * @buff: Buffer in which to place long symlink data
120 * @len: Length of the long symlink in bytes 120 * @len: Length of the long symlink in bytes
121 * 121 *
@@ -183,7 +183,7 @@ befs_count_blocks(struct super_block *sb, const befs_data_stream *ds)
183 metablocks += ds->indirect.len; 183 metablocks += ds->indirect.len;
184 184
185 /* 185 /*
186 Double indir block, plus all the indirect blocks it mapps 186 Double indir block, plus all the indirect blocks it maps.
187 In the double-indirect range, all block runs of data are 187 In the double-indirect range, all block runs of data are
188 BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know 188 BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know
189 how many data block runs are in the double-indirect region, 189 how many data block runs are in the double-indirect region,
@@ -397,7 +397,7 @@ befs_find_brun_indirect(struct super_block *sb,
397 though the double-indirect run may be several blocks long, 397 though the double-indirect run may be several blocks long,
398 we can calculate which of those blocks will contain the index 398 we can calculate which of those blocks will contain the index
399 we are after and only read that one. We then follow it to 399 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
401 the actual block run that maps the data block we are interested 401 the actual block run that maps the data block we are interested
402 in. 402 in.
403 403