diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2014-05-11 23:14:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-30 20:12:01 -0700 |
commit | ba9ea146601ca8d387d451089b18d12321330f4f (patch) | |
tree | 0371b40221ff563493a5025288b52489072a2c18 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | a9142eca7be86f00db4c504d16adba29fdbbe287 (diff) |
Btrfs: fix NULL pointer crash of deleting a seed device
commit 29cc83f69c8338ff8fd1383c9be263d4bdf52d73 upstream.
Same as normal devices, seed devices should be initialized with
fs_info->dev_root as well, otherwise we'll get a NULL pointer crash.
Cc: Chris Murphy <lists@colorremedies.com>
Reported-by: Chris Murphy <lists@colorremedies.com>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions