Lines Matching defs:error
85 * If the ecc fails, we return the error but otherwise
86 * leave the filesystem running. We know any error is
3468 * any error during the action, we shouldn't trust cached extent map
4253 int error, had_lock;
4263 error = ocfs2_create_inode_in_orphan(dir, inode->i_mode,
4265 if (error) {
4266 mlog_errno(error);
4270 error = ocfs2_rw_lock(inode, 1);
4271 if (error) {
4272 mlog_errno(error);
4276 error = ocfs2_inode_lock(inode, &old_bh, 1);
4277 if (error) {
4278 mlog_errno(error);
4285 error = __ocfs2_reflink(old_dentry, old_bh,
4294 if (error) {
4295 mlog_errno(error);
4302 error = had_lock;
4303 mlog_errno(error);
4309 error = ocfs2_init_security_and_acl(dir, new_orphan_inode,
4311 if (error)
4312 mlog_errno(error);
4314 if (!error) {
4315 error = ocfs2_mv_orphaned_inode_to_new(dir, new_orphan_inode,
4317 if (error)
4318 mlog_errno(error);
4329 if (error)
4333 return error;
4364 int error;
4369 error = ocfs2_may_create(dir, new_dentry);
4370 if (error)
4371 return error;
4403 error = inode_permission(inode, MAY_READ);
4404 if (error)
4405 return error;
4409 error = dquot_initialize(dir);
4410 if (!error)
4411 error = ocfs2_reflink(old_dentry, dir, new_dentry, preserve);
4413 if (!error)
4415 return error;
4427 int error;
4432 error = user_path_at(AT_FDCWD, oldname, 0, &old_path);
4433 if (error) {
4434 mlog_errno(error);
4435 return error;
4439 error = PTR_ERR(new_dentry);
4441 mlog_errno(error);
4445 error = -EXDEV;
4447 mlog_errno(error);
4451 error = ocfs2_vfs_reflink(old_path.dentry,
4459 return error;