commit | 5f3f302a6f4cb74906c05fad1d03fc5e95c7e5af | [log] [tgz] |
---|---|---|
author | Arne Jansen <sensille@gmx.net> | Mon May 30 08:36:16 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Sat Jun 04 08:03:44 2011 -0400 |
tree | 224a59dcd31fbbe2b23ac85d3d4906bbf7327b78 | |
parent | ca456ae280c0646e1e571c3b9a3834c55e90adfe [diff] |
btrfs: false BUG_ON when degraded In degraded mode the struct btrfs_device of missing devs don't have device->name set. A kstrdup of NULL correctly returns NULL. Don't BUG in this case. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>