summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorEric Whitney <enwlinux@gmail.com>2014-02-19 18:52:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-22 16:49:21 -0700
commitee16aadfc3f2835f11fbb3f58512952bbe52721b (patch)
tree421207b89e6ad0d5f98d654688e446ce7e7579bf /kernel/locking/rtmutex-debug.c
parentdb1e4acb2454298b1784405732e8c49a62cd54c2 (diff)
ext4: fix error return from ext4_ext_handle_uninitialized_extents()
commit ce37c42919608e96ade3748fe23c3062a0a966c5 upstream. Commit 3779473246 breaks the return of error codes from ext4_ext_handle_uninitialized_extents() in ext4_ext_map_blocks(). A portion of the patch assigns that function's signed integer return value to an unsigned int. Consequently, negatively valued error codes are lost and can be treated as a bogus allocated block count. Signed-off-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions