• David Sterba's avatar
    btrfs: check unsupported filters in balance arguments · 849ef928
    David Sterba authored
    We don't verify that all the balance filter arguments supplemented by
    the flags are actually known to the kernel. Thus we let it silently pass
    and do nothing.
    
    At the moment this means only the 'limit' filter, but we're going to add
    a few more soon so it's better to have that fixed. Also in older stable
    kernels so that it works with newer userspace tools.
    
    Cc: stable@vger.kernel.org # 3.16+
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    Signed-off-by: default avatarChris Mason <clm@fb.com>
    849ef928
ioctl.c 135 KB