Browse Source

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>
Namhyung Kim 14 years ago
parent
commit
f0940cee22
1 changed files with 3 additions and 3 deletions
  1. 3 3
      fs/direct-io.c

+ 3 - 3
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.
 		 * 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]
 		 * 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
 		 * We cannot submit those pages together as one BIO.  So if our
 		 * current logical offset in the file does not equal what would
 		 * current logical offset in the file does not equal what would