summaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents_status.c
diff options
context:
space:
mode:
authorEric Whitney <enwlinux@gmail.com>2014-02-19 18:52:39 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-02-19 18:52:39 -0500
commitce37c42919608e96ade3748fe23c3062a0a966c5 (patch)
tree3f3c73d33866c190274bce89ba9f362016b2cbca /fs/ext4/extents_status.c
parent024949ec8fc165bfac8eb051e537bc303adb365f (diff)
ext4: fix error return from ext4_ext_handle_uninitialized_extents()
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> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/extents_status.c')
0 files changed, 0 insertions, 0 deletions