aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 75ee2c7791f0..2e06f124f284 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1505,6 +1505,8 @@ static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
1505 while (cur_devices) { 1505 while (cur_devices) {
1506 head = &cur_devices->devices; 1506 head = &cur_devices->devices;
1507 list_for_each_entry(dev, head, dev_list) { 1507 list_for_each_entry(dev, head, dev_list) {
1508 if (dev->missing)
1509 continue;
1508 if (!first_dev || dev->devid < first_dev->devid) 1510 if (!first_dev || dev->devid < first_dev->devid)
1509 first_dev = dev; 1511 first_dev = dev;
1510 } 1512 }