2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00

staging: erofs: rename source files for better understanding

Keep in line with erofs-outofstaging patchset as well, see
https://lore.kernel.org/linux-fsdevel/20190725095658.155779-1-gaoxiang25@huawei.com/

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190731155752.210602-3-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gao Xiang 2019-07-31 23:57:32 +08:00 committed by Greg Kroah-Hartman
parent 29b24f6ca1
commit 57b78c9fd9
5 changed files with 14 additions and 14 deletions

View File

@ -9,5 +9,5 @@ obj-$(CONFIG_EROFS_FS) += erofs.o
ccflags-y += -I $(srctree)/$(src)/include
erofs-objs := super.o inode.o data.o namei.o dir.o utils.o
erofs-$(CONFIG_EROFS_FS_XATTR) += xattr.o
erofs-$(CONFIG_EROFS_FS_ZIP) += unzip_vle.o zmap.o decompressor.o
erofs-$(CONFIG_EROFS_FS_ZIP) += decompressor.o zmap.o zdata.o

View File

@ -4,8 +4,8 @@
*
* Copyright (C) 2018 Gao Xiang <gaoxiang25@huawei.com>
*/
#ifndef _LINUX_TAGPTR_H
#define _LINUX_TAGPTR_H
#ifndef __EROFS_FS_TAGPTR_H
#define __EROFS_FS_TAGPTR_H
#include <linux/types.h>
#include <linux/build_bug.h>
@ -106,5 +106,5 @@ tagptr_init(o, cmpxchg(&ptptr->v, o.v, n.v)); })
ptptr->v &= ~tags; \
*ptptr; })
#endif
#endif /* __EROFS_FS_TAGPTR_H */

View File

@ -1,12 +1,12 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/drivers/staging/erofs/unzip_vle.c
* linux/drivers/staging/erofs/zdata.c
*
* Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/
#include "unzip_vle.h"
#include "zdata.h"
#include "compress.h"
#include <linux/prefetch.h>

View File

@ -1,16 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* linux/drivers/staging/erofs/unzip_vle.h
* linux/drivers/staging/erofs/zdata.h
*
* Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/
#ifndef __EROFS_FS_UNZIP_VLE_H
#define __EROFS_FS_UNZIP_VLE_H
#ifndef __EROFS_FS_ZDATA_H
#define __EROFS_FS_ZDATA_H
#include "internal.h"
#include "unzip_pagevec.h"
#include "zpvec.h"
#define Z_EROFS_NR_INLINE_PAGEVECS 3

View File

@ -1,15 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* linux/drivers/staging/erofs/unzip_pagevec.h
* linux/drivers/staging/erofs/zpvec.h
*
* Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/
#ifndef __EROFS_UNZIP_PAGEVEC_H
#define __EROFS_UNZIP_PAGEVEC_H
#ifndef __EROFS_FS_ZPVEC_H
#define __EROFS_FS_ZPVEC_H
#include <linux/tagptr.h>
#include "tagptr.h"
/* page type in pagevec for unzip subsystem */
enum z_erofs_page_type {