ext2: improve ext2_readdir() return value
commitbbff28602436cc7ca660757bba81f03b99e8586d
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 28 Apr 2008 09:16:00 +0000 (28 02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:43 +0000 (28 08:58 -0700)
tree0bcbcd2e82e08ac15507b72947fb6c4605ddfe39
parent31f68e130149809c5d49583e1ff225dd5d404d83
ext2: improve ext2_readdir() return value

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@gmail.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/dir.c