diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-11-11 17:01:00 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-11-11 10:32:45 +0100 |
commit | 665c44e7c9135a58847ab0773fc7977929d1497c (patch) | |
tree | b66859f364d9bafc2d9bd0d19c5d4a42cf72e8c4 /ubifs-utils/common/lpt.h | |
parent | 2ac2e90cca9528147969d21378f8a736db710e35 (diff) |
ubifs-utils: Replace ubifs related source code with linux kernel implementation
Replace ubifs related source code with the implementation of linux kernel.
It makes userspace implementation be same with linux kernel, then
fsck.ubifs can resuse the code.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/common/lpt.h')
-rw-r--r-- | ubifs-utils/common/lpt.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ubifs-utils/common/lpt.h b/ubifs-utils/common/lpt.h deleted file mode 100644 index 86148a2..0000000 --- a/ubifs-utils/common/lpt.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2008 Nokia Corporation. - * Copyright (C) 2008 University of Szeged, Hungary - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - * Authors: Artem Bityutskiy - * Adrian Hunter - */ - -#ifndef __UBIFS_LPT_H__ -#define __UBIFS_LPT_H__ - -#include "ubifs.h" - -int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, int *big_lpt); -int create_lpt(struct ubifs_info *c); - -#endif |