Message ID | CAPgLHd_OU1_aJPO-nt6ZtHjCDH77vyvEeeXjQ7AcTypH_3bH1Q@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index fb5ffe9..fbea0de 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -1792,8 +1792,7 @@ static struct name_cache_entry *name_cache_search(struct send_ctx *sctx, static void name_cache_used(struct send_ctx *sctx, struct name_cache_entry *nce) { - list_del(&nce->list); - list_add_tail(&nce->list, &sctx->name_cache_list); + list_move_tail(&nce->list, &sctx->name_cache_list); } static void name_cache_clean_unused(struct send_ctx *sctx)