···124124 /* check parameters */125125 ret = -EOPNOTSUPP;126126 if (!root->d_inode ||127127- !root->d_inode->i_op ||128127 !root->d_inode->i_op->lookup ||129128 !root->d_inode->i_op->mkdir ||130129 !root->d_inode->i_op->setxattr ||
+1-2
fs/cachefiles/namei.c
···779779 }780780781781 ret = -EPERM;782782- if (!subdir->d_inode->i_op ||783783- !subdir->d_inode->i_op->setxattr ||782782+ if (!subdir->d_inode->i_op->setxattr ||784783 !subdir->d_inode->i_op->getxattr ||785784 !subdir->d_inode->i_op->lookup ||786785 !subdir->d_inode->i_op->mkdir ||
+1-1
security/integrity/evm/evm_crypto.c
···137137 int error;138138 int size;139139140140- if (!inode->i_op || !inode->i_op->getxattr)140140+ if (!inode->i_op->getxattr)141141 return -EOPNOTSUPP;142142 desc = init_desc(type);143143 if (IS_ERR(desc))
+1-1
security/integrity/evm/evm_main.c
···6262 int error;6363 int count = 0;64646565- if (!inode->i_op || !inode->i_op->getxattr)6565+ if (!inode->i_op->getxattr)6666 return -EOPNOTSUPP;67676868 for (xattr = evm_config_xattrnames; *xattr != NULL; xattr++) {
+2-2
security/tomoyo/realpath.c
···173173 * Use filesystem name if filesystem does not support rename()174174 * operation.175175 */176176- if (inode->i_op && !inode->i_op->rename)176176+ if (!inode->i_op->rename)177177 goto prepend_filesystem_name;178178 }179179 /* Prepend device name. */···282282 * Get local name for filesystems without rename() operation283283 * or dentry without vfsmount.284284 */285285- if (!path->mnt || (inode->i_op && !inode->i_op->rename))285285+ if (!path->mnt || !inode->i_op->rename)286286 pos = tomoyo_get_local_path(path->dentry, buf,287287 buf_len - 1);288288 /* Get absolute name for the rest. */