search for: btrfs_ioctl_clone_rang

Displaying 1 result from an estimated 1 matches for "btrfs_ioctl_clone_rang".

2010 Jul 26
6
[PATCH] Btrfs: compressed file size ioctl
...r(argp, &compressed_size, sizeof(compressed_size))) + ret = -EFAULT; + else + ret = 0; + +out: + btrfs_release_path(root, path); + unlock_extent(&BTRFS_I(inode)->io_tree, 0, len, GFP_NOFS); + mutex_unlock(&inode->i_mutex); + btrfs_free_path(path); + return ret; +} + static long btrfs_ioctl_clone_range(struct file *file, void __user *argp) { struct btrfs_ioctl_clone_range_args args; @@ -2034,6 +2135,8 @@ long btrfs_ioctl(struct file *file, unsigned int case BTRFS_IOC_SYNC: btrfs_sync_fs(file->f_dentry->d_sb, 1); return 0; + case BTRFS_IOC_COMPR_SIZE: + return btrfs_ioctl_compsi...