Lines Matching refs:error
852 ret = pending_snapshot->error;
908 int error;
916 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
917 if (error)
918 return error;
968 int error;
970 error = down_write_killable_nested(&dir->i_rwsem, I_MUTEX_PARENT);
971 if (error == -EINTR)
972 return error;
975 error = PTR_ERR(dentry);
979 error = btrfs_may_create(idmap, dir, dentry);
980 if (error)
987 error = btrfs_check_dir_item_collision(BTRFS_I(dir)->root,
989 if (error)
998 error = create_snapshot(snap_src, dir, dentry, readonly, inherit);
1000 error = create_subvol(idmap, dir, dentry, inherit);
1002 if (!error)
1010 return error;
3210 * error. This is important as it allows user space to know how much
3212 * -ECANCELED from btrfs_scrub_dev() and return that error back to user
3495 * as exclusive ops are blocked. In case of failure return an error code.