summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode-map.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-05-30 10:36:16 +0200
committerChris Mason <chris.mason@oracle.com>2011-06-04 14:03:44 +0200
commit5f3f302a6f4cb74906c05fad1d03fc5e95c7e5af (patch)
tree224a59dcd31fbbe2b23ac85d3d4906bbf7327b78 /fs/btrfs/inode-map.c
parentBtrfs: don't save the inode cache in non-FS roots (diff)
downloadlinux-5f3f302a6f4cb74906c05fad1d03fc5e95c7e5af.tar.xz
linux-5f3f302a6f4cb74906c05fad1d03fc5e95c7e5af.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions