Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable into for-linus
此提交包含在:
@@ -446,8 +446,10 @@ static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig)
|
||||
goto error;
|
||||
|
||||
device->name = kstrdup(orig_dev->name, GFP_NOFS);
|
||||
if (!device->name)
|
||||
if (!device->name) {
|
||||
kfree(device);
|
||||
goto error;
|
||||
}
|
||||
|
||||
device->devid = orig_dev->devid;
|
||||
device->work.func = pending_bios_fn;
|
||||
|
新增問題並參考
封鎖使用者