diff options
Diffstat (limited to 'fs/ext4/fast_commit.c')
| -rw-r--r-- | fs/ext4/fast_commit.c | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/ext4/fast_commit.c b/fs/ext4/fast_commit.c index 7541d0b5d706..f98ca4f37ef6 100644 --- a/fs/ext4/fast_commit.c +++ b/fs/ext4/fast_commit.c @@ -66,7 +66,7 @@   * Fast Commit Ineligibility   * -------------------------   * Not all operations are supported by fast commits today (e.g extended - * attributes). Fast commit ineligiblity is marked by calling one of the + * attributes). Fast commit ineligibility is marked by calling one of the   * two following functions:   *   * - ext4_fc_mark_ineligible(): This makes next fast commit operation to fall @@ -1088,8 +1088,10 @@ static int ext4_fc_perform_commit(journal_t *journal)  		head.fc_tid = cpu_to_le32(  			sbi->s_journal->j_running_transaction->t_tid);  		if (!ext4_fc_add_tlv(sb, EXT4_FC_TAG_HEAD, sizeof(head), -			(u8 *)&head, &crc)) +			(u8 *)&head, &crc)) { +			ret = -ENOSPC;  			goto out; +		}  	}  	spin_lock(&sbi->s_fc_lock); @@ -1734,7 +1736,7 @@ static int ext4_fc_replay_add_range(struct super_block *sb,  		}  		/* Range is mapped and needs a state change */ -		jbd_debug(1, "Converting from %d to %d %lld", +		jbd_debug(1, "Converting from %ld to %d %lld",  				map.m_flags & EXT4_MAP_UNWRITTEN,  			ext4_ext_is_unwritten(ex), map.m_pblk);  		ret = ext4_ext_replay_update_ex(inode, cur, map.m_len,  |