From: Peng Tao Date: Mon, 19 Oct 2009 06:48:13 +0000 (+0800) Subject: mm: fix comments for invalidate_inode_pages2() X-Git-Tag: firefly_0821_release~9833^2~3922^2^2~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e9de25dda359c9272998daddeae7788376a44e41;p=firefly-linux-kernel-4.4.55.git mm: fix comments for invalidate_inode_pages2() invalidate_inode_pages2() returns -EBUSY *NOT* -EIO if any pages could not be invalidated. Signed-off-by: Peng Tao Signed-off-by: Jiri Kosina --- diff --git a/mm/truncate.c b/mm/truncate.c index 450cebdabfc0..2c147a7e5f2c 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -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) {