Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dioctl.c815 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); in create_snapshot()
816 if (!pending_snapshot) in create_snapshot()
825 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()
844 pending_snapshot->dentry = dentry; in create_snapshot()
845 pending_snapshot->root = root; in create_snapshot()
847 pending_snapshot->dir = dir; in create_snapshot()
863 trans->pending_snapshot = pending_snapshot; in create_snapshot()
869 ret = pending_snapshot->error; in create_snapshot()
885 pending_snapshot->anon_dev = 0; in create_snapshot()
895 if (pending_snapshot->anon_dev) in create_snapshot()
[all …]
H A Dtransaction.h136 struct btrfs_pending_snapshot *pending_snapshot; member
H A Dtransaction.c2131 if (!trans->pending_snapshot) in add_pending_snapshot()
2137 list_add(&trans->pending_snapshot->list, &cur_trans->pending_snapshots); in add_pending_snapshot()