summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-02-17 15:26:27 +0100
committerDavid Sterba <dsterba@suse.com>2016-02-23 12:56:35 +0100
commitd5131b658c2e906da11603da5d3cb4c3a445331d (patch)
tree9f076a38408ac22ec6389be9ec33b1f813acd081 /fs/btrfs/super.c
parentc5868f8362f5620302c66848d400368f8d4b45f8 (diff)
downloadblackbird-op-linux-d5131b658c2e906da11603da5d3cb4c3a445331d.tar.gz
blackbird-op-linux-d5131b658c2e906da11603da5d3cb4c3a445331d.zip
btrfs: drop unused argument in btrfs_ioctl_get_supported_features
Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index dda6f64dfd73..737e6a85c71e 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2164,8 +2164,7 @@ static long btrfs_control_ioctl(struct file *file, unsigned int cmd,
ret = !(fs_devices->num_devices == fs_devices->total_devices);
break;
case BTRFS_IOC_GET_SUPPORTED_FEATURES:
- ret = btrfs_ioctl_get_supported_features(NULL,
- (void __user*)arg);
+ ret = btrfs_ioctl_get_supported_features((void __user*)arg);
break;
}
OpenPOWER on IntegriCloud