git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9931fac
)
ext4: return ENOMEM if sb_getblk() fails
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 12 Jan 2013 21:19:36 +0000
(16:19 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 12 Jan 2013 21:19:36 +0000
(16:19 -0500)
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
No differences found