mm: fix comments for invalidate_inode_pages2()
authorPeng Tao <bergwolf@gmail.com>
Mon, 19 Oct 2009 06:48:13 +0000 (14:48 +0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 4 Dec 2009 14:39:48 +0000 (15:39 +0100)
invalidate_inode_pages2() returns -EBUSY *NOT* -EIO if any pages could not be
invalidated.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
mm/truncate.c

index 450cebd..2c147a7 100644 (file)
@@ -490,7 +490,7 @@ EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);
  * Any pages which are found to be mapped into pagetables are unmapped prior to
  * invalidation.
  *
- * Returns -EIO if any pages could not be invalidated.
+ * Returns -EBUSY if any pages could not be invalidated.
  */
 int invalidate_inode_pages2(struct address_space *mapping)
 {