From: Theodore Ts'o Date: Sat, 12 Jan 2013 21:19:36 +0000 (-0500) Subject: ext4: return ENOMEM if sb_getblk() fails X-Git-Tag: v3.9-rc1~64^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860d21e2c585f7ee8a4ecc06f474fdc33c9474f4;p=pandora-kernel.git ext4: return ENOMEM if sb_getblk() fails The only reason for sb_getblk() failing is if it can't allocate the buffer_head. So ENOMEM is more appropriate than EIO. In addition, make sure that the file system is marked as being inconsistent if sb_getblk() fails. Signed-off-by: "Theodore Ts'o" Cc: stable@vger.kernel.org --- Reading git-diff-tree failed