diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-10-28 15:11:03 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-04 09:39:50 -0500 |
commit | bf48aabb894fd0639ab72a26e8abbd7683ef23c2 (patch) | |
tree | cd7ba4504558ed518126966fa79f18adf2f37fd6 /fs | |
parent | fb3d38b9904888aa8e36d88b2388dc70934b2169 (diff) |
tree-wide: fix typos "offest" -> "offset"
This patch was generated by
git grep -E -i -l 'offest' | xargs -r perl -p -i -e 's/offest/offset/'
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext3/inode.c | 2 | ||||
-rw-r--r-- | fs/ext4/inode.c | 2 | ||||
-rw-r--r-- | fs/ocfs2/blockcheck.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index acf1b1423327..a5d3bd7a43a9 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
@@ -2026,7 +2026,7 @@ static Indirect *ext3_find_shared(struct inode *inode, int depth, | |||
2026 | int k, err; | 2026 | int k, err; |
2027 | 2027 | ||
2028 | *top = 0; | 2028 | *top = 0; |
2029 | /* Make k index the deepest non-null offest + 1 */ | 2029 | /* Make k index the deepest non-null offset + 1 */ |
2030 | for (k = depth; k > 1 && !offsets[k-1]; k--) | 2030 | for (k = depth; k > 1 && !offsets[k-1]; k--) |
2031 | ; | 2031 | ; |
2032 | partial = ext3_get_branch(inode, k, offsets, chain, &err); | 2032 | partial = ext3_get_branch(inode, k, offsets, chain, &err); |
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 5c5bc5dafff8..618ca95cbb59 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -4058,7 +4058,7 @@ static Indirect *ext4_find_shared(struct inode *inode, int depth, | |||
4058 | int k, err; | 4058 | int k, err; |
4059 | 4059 | ||
4060 | *top = 0; | 4060 | *top = 0; |
4061 | /* Make k index the deepest non-null offest + 1 */ | 4061 | /* Make k index the deepest non-null offset + 1 */ |
4062 | for (k = depth; k > 1 && !offsets[k-1]; k--) | 4062 | for (k = depth; k > 1 && !offsets[k-1]; k--) |
4063 | ; | 4063 | ; |
4064 | partial = ext4_get_branch(inode, k, offsets, chain, &err); | 4064 | partial = ext4_get_branch(inode, k, offsets, chain, &err); |
diff --git a/fs/ocfs2/blockcheck.c b/fs/ocfs2/blockcheck.c index a1163b8b417c..b7428c5d0d3b 100644 --- a/fs/ocfs2/blockcheck.c +++ b/fs/ocfs2/blockcheck.c | |||
@@ -47,7 +47,7 @@ | |||
47 | * Calculate the bit offset in the hamming code buffer based on the bit's | 47 | * Calculate the bit offset in the hamming code buffer based on the bit's |
48 | * offset in the data buffer. Since the hamming code reserves all | 48 | * offset in the data buffer. Since the hamming code reserves all |
49 | * power-of-two bits for parity, the data bit number and the code bit | 49 | * power-of-two bits for parity, the data bit number and the code bit |
50 | * number are offest by all the parity bits beforehand. | 50 | * number are offset by all the parity bits beforehand. |
51 | * | 51 | * |
52 | * Recall that bit numbers in hamming code are 1-based. This function | 52 | * Recall that bit numbers in hamming code are 1-based. This function |
53 | * takes the 0-based data bit from the caller. | 53 | * takes the 0-based data bit from the caller. |