Theodore Ts'o 860d21e2c5 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" <tytso@mit.edu>
Cc: stable@vger.kernel.org
2013-01-12 16:19:36 -05:00
..
2011-07-25 14:30:23 -04:00
2012-12-10 14:06:03 -05:00
2012-12-10 16:30:43 -05:00
2013-01-12 16:19:36 -05:00
2012-12-10 16:30:43 -05:00