summaryrefslogtreecommitdiffstats
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-01-11 13:15:03 +0100
committerJiri Kosina <jkosina@suse.cz>2011-01-19 15:40:13 +0100
commitf0940cee222790e6e995a23f25c4ffb23f939a24 (patch)
tree8f460d6ed93878c52f18322569be8717ae0b1546 /fs/direct-io.c
parentComment typo fixes for 'descriptor' (diff)
downloadlinux-f0940cee222790e6e995a23f25c4ffb23f939a24.tar.xz
linux-f0940cee222790e6e995a23f25c4ffb23f939a24.zip
dio: fix typos in comments
Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/direct-io.c')
-rw-r--r--fs/direct-io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/direct-io.c b/fs/direct-io.c
index 85882f6ba5f7..8201c2558d85 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -641,11 +641,11 @@ static int dio_send_cur_page(struct dio *dio)
/*
* See whether this new request is contiguous with the old.
*
- * Btrfs cannot handl having logically non-contiguous requests
- * submitted. For exmple if you have
+ * Btrfs cannot handle having logically non-contiguous requests
+ * submitted. For example if you have
*
* Logical: [0-4095][HOLE][8192-12287]
- * Phyiscal: [0-4095] [4096-8181]
+ * Physical: [0-4095] [4096-8191]
*
* We cannot submit those pages together as one BIO. So if our
* current logical offset in the file does not equal what would