|
@@ -5187,7 +5187,7 @@ out_unlock:
|
|
|
.compat_ro_flags = BTRFS_FEATURE_COMPAT_RO_##suffix, \
|
|
|
.incompat_flags = BTRFS_FEATURE_INCOMPAT_##suffix }
|
|
|
|
|
|
-int btrfs_ioctl_get_supported_features(struct file *file, void __user *arg)
|
|
|
+int btrfs_ioctl_get_supported_features(void __user *arg)
|
|
|
{
|
|
|
static const struct btrfs_ioctl_feature_flags features[3] = {
|
|
|
INIT_FEATURE_FLAGS(SUPP),
|
|
@@ -5466,7 +5466,7 @@ long btrfs_ioctl(struct file *file, unsigned int
|
|
|
case BTRFS_IOC_SET_FSLABEL:
|
|
|
return btrfs_ioctl_set_fslabel(file, argp);
|
|
|
case BTRFS_IOC_GET_SUPPORTED_FEATURES:
|
|
|
- return btrfs_ioctl_get_supported_features(file, argp);
|
|
|
+ return btrfs_ioctl_get_supported_features(argp);
|
|
|
case BTRFS_IOC_GET_FEATURES:
|
|
|
return btrfs_ioctl_get_features(file, argp);
|
|
|
case BTRFS_IOC_SET_FEATURES:
|