2008-04-28 22:00:16

by Andrew Morton

[permalink] [raw]
Subject: - ext2-improve-ext2_readdir-return-value.patch removed from -mm tree

The patch titled
ext2: improve ext2_readdir() return value
has been removed from the -mm tree. Its filename was

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

Subject: ext2: improve ext2_readdir() return value
From: Akinobu Mita <[email protected]>

Improve ext2_readdir() return value for ext2_get_page() failure by using the
actual result of ext2_get_page().

Signed-off-by: Akinobu Mita <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>

fs/ext2/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/ext2/dir.c~ext2-improve-ext2_readdir-return-value fs/ext2/dir.c
--- a/fs/ext2/dir.c~ext2-improve-ext2_readdir-return-value
+++ a/fs/ext2/dir.c
@@ -299,7 +299,7 @@ ext2_readdir (struct file * filp, void *
"bad page in #%lu",
filp->f_pos += PAGE_CACHE_SIZE - offset;
- return -EIO;
+ return PTR_ERR(page);
kaddr = page_address(page);
if (unlikely(need_revalidate)) {

Patches currently in -mm which might be from [email protected] are