diff options
| author | Eric Whitney <[email protected]> | 2014-02-19 23:52:39 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2014-02-19 23:52:39 +0000 |
| commit | ce37c42919608e96ade3748fe23c3062a0a966c5 (patch) | |
| tree | 3f3c73d33866c190274bce89ba9f362016b2cbca /fs/jbd2/commit.c | |
| parent | ext4: address a benign compiler warning (diff) | |
| download | kernel-ce37c42919608e96ade3748fe23c3062a0a966c5.tar.gz kernel-ce37c42919608e96ade3748fe23c3062a0a966c5.zip | |
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 <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
