Message ID | 1445486285-1232-1-git-send-email-anand.jain@oracle.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Thu, Oct 22, 2015 at 11:58:05AM +0800, Anand Jain wrote: S-O-B line added and applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/utils.c b/utils.c index f1e3248..b754686 100644 --- a/utils.c +++ b/utils.c @@ -763,6 +763,7 @@ int btrfs_add_to_fsid(struct btrfs_trans_handle *trans, if (!device->name) goto err_nomem; + INIT_LIST_HEAD(&device->dev_list); ret = btrfs_add_device(trans, root, device); BUG_ON(ret);