summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-09-15 21:46:02 +0900
committerJiri Kosina <jkosina@suse.cz>2010-09-23 13:49:50 +0200
commit72b43570f304634532b4d66c991eef529135f68c (patch)
treece35480ad0f0a9ebe01530e84636450498cf439d /fs/ext2
parent35df83970ecdc2cffb141503cf721a740d0f0ec5 (diff)
downloadlinux-3.10-72b43570f304634532b4d66c991eef529135f68c.tar.gz
linux-3.10-72b43570f304634532b4d66c991eef529135f68c.tar.bz2
linux-3.10-72b43570f304634532b4d66c991eef529135f68c.zip
ext2: fix a typo on comment in ext2/inode.c
'excpet' should be 'except'. 'ext3_get_branch' should be 'ext2_get_branch'. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index 940c9616886..533699c1604 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