Commit c5fcb511 authored by Gao Xiang's avatar Gao Xiang

erofs: clean up file headers & footers

 - Remove my outdated misleading email address;

 - Get rid of all unnecessary trailing newline by accident.

Link: https://lore.kernel.org/r/20210602160634.10757-1-xiang@kernel.orgReviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 7dea3de7
...@@ -75,4 +75,3 @@ config EROFS_FS_ZIP ...@@ -75,4 +75,3 @@ config EROFS_FS_ZIP
Enable fixed-sized output compression for EROFS. Enable fixed-sized output compression for EROFS.
If you don't want to enable compression feature, say N. If you don't want to enable compression feature, say N.
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2019 HUAWEI, Inc. * Copyright (C) 2019 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_FS_COMPRESS_H #ifndef __EROFS_FS_COMPRESS_H
#define __EROFS_FS_COMPRESS_H #define __EROFS_FS_COMPRESS_H
...@@ -85,4 +84,3 @@ int z_erofs_decompress(struct z_erofs_decompress_req *rq, ...@@ -85,4 +84,3 @@ int z_erofs_decompress(struct z_erofs_decompress_req *rq,
struct list_head *pagepool); struct list_head *pagepool);
#endif #endif
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "internal.h" #include "internal.h"
#include <linux/prefetch.h> #include <linux/prefetch.h>
...@@ -315,4 +314,3 @@ const struct address_space_operations erofs_raw_access_aops = { ...@@ -315,4 +314,3 @@ const struct address_space_operations erofs_raw_access_aops = {
.readahead = erofs_raw_access_readahead, .readahead = erofs_raw_access_readahead,
.bmap = erofs_bmap, .bmap = erofs_bmap,
}; };
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2019 HUAWEI, Inc. * Copyright (C) 2019 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "compress.h" #include "compress.h"
#include <linux/module.h> #include <linux/module.h>
...@@ -407,4 +406,3 @@ int z_erofs_decompress(struct z_erofs_decompress_req *rq, ...@@ -407,4 +406,3 @@ int z_erofs_decompress(struct z_erofs_decompress_req *rq,
return z_erofs_shifted_transform(rq, pagepool); return z_erofs_shifted_transform(rq, pagepool);
return z_erofs_decompress_generic(rq, pagepool); return z_erofs_decompress_generic(rq, pagepool);
} }
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "internal.h" #include "internal.h"
...@@ -139,4 +138,3 @@ const struct file_operations erofs_dir_fops = { ...@@ -139,4 +138,3 @@ const struct file_operations erofs_dir_fops = {
.read = generic_read_dir, .read = generic_read_dir,
.iterate_shared = erofs_readdir, .iterate_shared = erofs_readdir,
}; };
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_FS_H #ifndef __EROFS_FS_H
#define __EROFS_FS_H #define __EROFS_FS_H
...@@ -348,4 +347,3 @@ static inline void erofs_check_ondisk_layout_definitions(void) ...@@ -348,4 +347,3 @@ static inline void erofs_check_ondisk_layout_definitions(void)
} }
#endif #endif
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "xattr.h" #include "xattr.h"
...@@ -374,4 +373,3 @@ const struct inode_operations erofs_fast_symlink_iops = { ...@@ -374,4 +373,3 @@ const struct inode_operations erofs_fast_symlink_iops = {
.listxattr = erofs_listxattr, .listxattr = erofs_listxattr,
.get_acl = erofs_get_acl, .get_acl = erofs_get_acl,
}; };
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_INTERNAL_H #ifndef __EROFS_INTERNAL_H
#define __EROFS_INTERNAL_H #define __EROFS_INTERNAL_H
...@@ -469,4 +468,3 @@ static inline int z_erofs_load_lz4_config(struct super_block *sb, ...@@ -469,4 +468,3 @@ static inline int z_erofs_load_lz4_config(struct super_block *sb,
#define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */ #define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
#endif /* __EROFS_INTERNAL_H */ #endif /* __EROFS_INTERNAL_H */
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "xattr.h" #include "xattr.h"
...@@ -247,4 +246,3 @@ const struct inode_operations erofs_dir_iops = { ...@@ -247,4 +246,3 @@ const struct inode_operations erofs_dir_iops = {
.listxattr = erofs_listxattr, .listxattr = erofs_listxattr,
.get_acl = erofs_get_acl, .get_acl = erofs_get_acl,
}; };
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
...@@ -752,4 +751,3 @@ module_exit(erofs_module_exit); ...@@ -752,4 +751,3 @@ module_exit(erofs_module_exit);
MODULE_DESCRIPTION("Enhanced ROM File System"); MODULE_DESCRIPTION("Enhanced ROM File System");
MODULE_AUTHOR("Gao Xiang, Chao Yu, Miao Xie, CONSUMER BG, HUAWEI Inc."); MODULE_AUTHOR("Gao Xiang, Chao Yu, Miao Xie, CONSUMER BG, HUAWEI Inc.");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* A tagged pointer implementation * A tagged pointer implementation
*
* Copyright (C) 2018 Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_FS_TAGPTR_H #ifndef __EROFS_FS_TAGPTR_H
#define __EROFS_FS_TAGPTR_H #define __EROFS_FS_TAGPTR_H
...@@ -107,4 +105,3 @@ tagptr_init(o, cmpxchg(&ptptr->v, o.v, n.v)); }) ...@@ -107,4 +105,3 @@ tagptr_init(o, cmpxchg(&ptptr->v, o.v, n.v)); })
*ptptr; }) *ptptr; })
#endif /* __EROFS_FS_TAGPTR_H */ #endif /* __EROFS_FS_TAGPTR_H */
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "internal.h" #include "internal.h"
#include <linux/pagevec.h> #include <linux/pagevec.h>
...@@ -278,4 +277,3 @@ void erofs_exit_shrinker(void) ...@@ -278,4 +277,3 @@ void erofs_exit_shrinker(void)
unregister_shrinker(&erofs_shrinker_info); unregister_shrinker(&erofs_shrinker_info);
} }
#endif /* !CONFIG_EROFS_FS_ZIP */ #endif /* !CONFIG_EROFS_FS_ZIP */
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include <linux/security.h> #include <linux/security.h>
#include "xattr.h" #include "xattr.h"
...@@ -709,4 +708,3 @@ struct posix_acl *erofs_get_acl(struct inode *inode, int type) ...@@ -709,4 +708,3 @@ struct posix_acl *erofs_get_acl(struct inode *inode, int type)
return acl; return acl;
} }
#endif #endif
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_XATTR_H #ifndef __EROFS_XATTR_H
#define __EROFS_XATTR_H #define __EROFS_XATTR_H
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "zdata.h" #include "zdata.h"
#include "compress.h" #include "compress.h"
...@@ -1469,4 +1468,3 @@ const struct address_space_operations z_erofs_aops = { ...@@ -1469,4 +1468,3 @@ const struct address_space_operations z_erofs_aops = {
.readpage = z_erofs_readpage, .readpage = z_erofs_readpage,
.readahead = z_erofs_readahead, .readahead = z_erofs_readahead,
}; };
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_FS_ZDATA_H #ifndef __EROFS_FS_ZDATA_H
#define __EROFS_FS_ZDATA_H #define __EROFS_FS_ZDATA_H
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2018-2019 HUAWEI, Inc. * Copyright (C) 2018-2019 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#include "internal.h" #include "internal.h"
#include <asm/unaligned.h> #include <asm/unaligned.h>
...@@ -597,4 +596,3 @@ int z_erofs_map_blocks_iter(struct inode *inode, ...@@ -597,4 +596,3 @@ int z_erofs_map_blocks_iter(struct inode *inode,
DBG_BUGON(err < 0 && err != -ENOMEM); DBG_BUGON(err < 0 && err != -ENOMEM);
return err; return err;
} }
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* /*
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* https://www.huawei.com/ * https://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com>
*/ */
#ifndef __EROFS_FS_ZPVEC_H #ifndef __EROFS_FS_ZPVEC_H
#define __EROFS_FS_ZPVEC_H #define __EROFS_FS_ZPVEC_H
...@@ -151,4 +150,3 @@ z_erofs_pagevec_dequeue(struct z_erofs_pagevec_ctor *ctor, ...@@ -151,4 +150,3 @@ z_erofs_pagevec_dequeue(struct z_erofs_pagevec_ctor *ctor,
return tagptr_unfold_ptr(t); return tagptr_unfold_ptr(t);
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment