Home
last modified time | relevance | path

Searched refs:pending_snapshot (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/fs/btrfs/
Dioctl.c722 struct btrfs_pending_snapshot *pending_snapshot; in create_snapshot() local
735 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); in create_snapshot()
736 if (!pending_snapshot) in create_snapshot()
739 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()
742 pending_snapshot->root_item = kzalloc(sizeof(struct btrfs_root_item), in create_snapshot()
744 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot()
745 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()
750 btrfs_init_block_rsv(&pending_snapshot->block_rsv, in create_snapshot()
761 &pending_snapshot->block_rsv, 8, in create_snapshot()
766 pending_snapshot->dentry = dentry; in create_snapshot()
[all …]