commit | b34b94d5cd500e0369f0af43b21ab6af890e531d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Jan 03 09:39:33 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jan 04 19:11:37 2014 -0500 |
tree | 69713710d49ae3a912becf991c6ee5a3b582192c | |
parent | 2873927d15ffb9ee9ed0e2700791a0e519c715aa [diff] |
debugfs: clean up read_journal_block() to avoid Coverity complaint The read_journal_block() function was needlessly complicated, which made it harder to read/maintain, and it also tripped up Coverity. Cleaning it up also avoided some signed/unsigned casts, and allows us to avoid passing got back to the caller, since it wasn't needed. Addresses-Coverity-Bug: #709539 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>