mm: fix comments for invalidate_inode_pages2()
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- mm/truncate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
mm/truncate.c +1 -1
@@ -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) {
Signature · 1 line
1.6.2-rc2.GIT
Jiri Kosina
AppliedQuoted 13 lines · Peng Tao
invalidate_inode_pages2()returns-EBUSY*NOT*-EIOif any pages could not be invalidated.Signed-off-by Peng Tao <[email protected]>--- mm/truncate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)mm/truncate.c +0
-0
mm/truncate.c EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range); · line 496
Quoted 8 lines
mm/truncate.c +1
-1@@ -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) {
Right, this way it's consistent with invalidate_inode_pages2_range().
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.