]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix the df ioctl to report raid types
authorJosef Bacik <josef@redhat.com>
Wed, 29 Sep 2010 15:22:36 +0000 (11:22 -0400)
committerJosef Bacik <josef@redhat.com>
Fri, 22 Oct 2010 19:54:53 +0000 (15:54 -0400)
commit10d75ae13f463739679feb86779519eec60b43fe
tree099385541c534c1adcdb4251277ee4364562d5ec
parentb75858ea1ad62b7ff1a251103de7558f229a2f74
Btrfs: fix the df ioctl to report raid types

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: Josef Bacik <josef@redhat.com>
fs/btrfs/ioctl.c