When moving the inode table, if writing the (partially overlapping)
inode table fails, we need to write it back in its original location
before bailing out. If that write unding the initial write fails,
there's nothing we can do, so we ignore it. Mark this to avoid a
false positive from Coverity.
Fixes-Coverity-bug: 1432422
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
retval = io_channel_write_blk64(fs->io, new_blk,
num, rfs->itable_buf);
if (retval) {
- io_channel_write_blk64(fs->io, old_blk,
- num, rfs->itable_buf);
+ (void) io_channel_write_blk64(fs->io, old_blk,
+ num, rfs->itable_buf);
goto errout;
}
if (n > diff) {