diff options
| author | Anand Jain <anand.jain@oracle.com> | 2018-01-18 17:02:34 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 22:25:56 +0300 |
| commit | f2788d2f76cafef160e959999624c6a87e71d26d (patch) | |
| tree | 273d7f9a70a5a3f0de2605daabe8d013cfb529f0 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| parent | 327f18cc7f44bc09170200514f42e61bce25d022 (diff) | |
| download | linux-f2788d2f76cafef160e959999624c6a87e71d26d.tar.xz | |
btrfs: set the total_devices in device_list_add()
There is no other parent for device_list_add() except for
btrfs_scan_one_device(), which would set btrfs_fs_devices::total_devices
if device_list_add is successful and this can be done with in
device_list_add() itself.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions
