History

Merge tag 'iversion-v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux

Pull inode->i_version cleanup from Jeff Layton: "Goffredo went ahead and sent a patch to rename this function, and reverse its sense, as we discussed last week. The patch is very straightforward and I figure it's probably best to go ahead and merge this to get the API as settled as possible" * tag 'iversion-v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux: iversion: Rename make inode_cmp_iversion{+raw} to inode_eq_iversion{+raw}

Linus Torvalds committed 8 years ago

Commit 6fbac202 parents fe803f8 c472c0711 files · +25 −25Browse files

Showing the changes to security/integrity (1 of 11 files). Show all

Unified · Split

security/integrity/ima/ima_main.c+1−1
@@ -135,7 +135,7 @@ static void ima_check_last_writer(struct integrity_iint_cache *iint, · 134 unmodified lines
135135 update = test_and_clear_bit(IMA_UPDATE_XATTR,
136136 &iint->atomic_flags);
137137 if (!IS_I_VERSION(inode) ||
138− inode_cmp_iversion(inode, iint->version) ||
138+ !inode_eq_iversion(inode, iint->version) ||
139139 (iint->flags & IMA_NEW_FILE)) {
140140 iint->flags &= ~(IMA_DONE_MASK | IMA_NEW_FILE);
141141 iint->measured_pcrs = 0;