[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200804282200.m3SM0Gqw018679@imap1.linux-foundation.org>
Date: Mon, 28 Apr 2008 15:00:16 -0700
From: akpm@...ux-foundation.org
To: akinobu.mita@...il.com, linux-ext4@...r.kernel.org,
mm-commits@...r.kernel.org
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
ext2-improve-ext2_readdir-return-value.patch
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 <akinobu.mita@...il.com>
Improve ext2_readdir() return value for ext2_get_page() failure by using the
actual result of ext2_get_page().
Signed-off-by: Akinobu Mita <akinobu.mita@...il.com>
Cc: <linux-ext4@...r.kernel.org>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
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",
inode->i_ino);
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 akinobu.mita@...il.com are
origin.patch
idr-create-idr_layer_cache-at-boot-time.patch
idr-create-idr_layer_cache-at-boot-time-fix.patch
idr-create-idr_layer_cache-at-boot-time-fix-fix.patch
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists