file.c (05909cd9a0c8811731b38697af13075e8954314f) file.c (b8f1da98a219ab8c371fae5c3efb4b90b8594f3b)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * This file is part of UBIFS.
4 *
5 * Copyright (C) 2006-2008 Nokia Corporation.
6 *
7 * Authors: Artem Bityutskiy (Битюцкий Артём)
8 * Adrian Hunter

--- 191 unchanged lines hidden (view full) ---

200 ubifs_release_budget(c, &req);
201}
202
203/**
204 * release_existing_page_budget - release budget of an existing page.
205 * @c: UBIFS file-system description object
206 *
207 * This is a helper function which releases budget corresponding to the budget
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * This file is part of UBIFS.
4 *
5 * Copyright (C) 2006-2008 Nokia Corporation.
6 *
7 * Authors: Artem Bityutskiy (Битюцкий Артём)
8 * Adrian Hunter

--- 191 unchanged lines hidden (view full) ---

200 ubifs_release_budget(c, &req);
201}
202
203/**
204 * release_existing_page_budget - release budget of an existing page.
205 * @c: UBIFS file-system description object
206 *
207 * This is a helper function which releases budget corresponding to the budget
208 * of changing one one page of data which already exists on the flash media.
208 * of changing one page of data which already exists on the flash media.
209 */
210static void release_existing_page_budget(struct ubifs_info *c)
211{
212 struct ubifs_budget_req req = { .dd_growth = c->bi.page_budget};
213
214 ubifs_release_budget(c, &req);
215}
216

--- 1461 unchanged lines hidden ---
209 */
210static void release_existing_page_budget(struct ubifs_info *c)
211{
212 struct ubifs_budget_req req = { .dd_growth = c->bi.page_budget};
213
214 ubifs_release_budget(c, &req);
215}
216

--- 1461 unchanged lines hidden ---