• Josef Bacik's avatar
    Btrfs: fix the df ioctl to report raid types · bf5fc093
    Josef Bacik authored
    The new ENOSPC stuff broke the df ioctl since we no longer create seperate space
    info's for each RAID type.  So instead, loop through each space info's raid
    lists so we can get the right RAID information which will allow the df ioctl to
    tell us RAID types again.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    bf5fc093
ioctl.c 49.8 KB