]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: note the error in ext4_end_bio()
authorMatthew Wilcox <willy@linux.intel.com>
Mon, 7 Apr 2014 14:54:20 +0000 (10:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Apr 2014 14:54:20 +0000 (10:54 -0400)
commit276d1697d69a8c6929f2b6fcc9e84bae66514fda
treedb9fa13988627ad20696cd57228e359bc75f2936
parent70e4a5dd5c1d1909c669ef3489f9dfd77bc30fea
ext4: note the error in ext4_end_bio()

ext4_end_bio() currently throws away the error that it receives.  Chances
are this is part of a spate of errors, one of which will end up getting
the error returned to userspace somehow, but we shouldn't take that risk.
Also print out the errno to aid in debug.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: stable@vger.kernel.org
fs/ext4/page-io.c