mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	f2fs: add SPDX license identifiers
Remove the verbose license text from f2fs files and replace them with SPDX tags. This does not change the license of any of the code. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
		
							parent
							
								
									4cb037ec3f
								
							
						
					
					
						commit
						7c1a000d46
					
				
					 28 changed files with 28 additions and 111 deletions
				
			
		| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/acl.c
 | 
					 * fs/f2fs/acl.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -7,10 +8,6 @@
 | 
				
			||||||
 * Portions of this code from linux/fs/ext2/acl.c
 | 
					 * Portions of this code from linux/fs/ext2/acl.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
 | 
					 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
#include "f2fs.h"
 | 
					#include "f2fs.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/acl.h
 | 
					 * fs/f2fs/acl.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -7,10 +8,6 @@
 | 
				
			||||||
 * Portions of this code from linux/fs/ext2/acl.h
 | 
					 * Portions of this code from linux/fs/ext2/acl.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
 | 
					 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#ifndef __F2FS_ACL_H__
 | 
					#ifndef __F2FS_ACL_H__
 | 
				
			||||||
#define __F2FS_ACL_H__
 | 
					#define __F2FS_ACL_H__
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/checkpoint.c
 | 
					 * fs/f2fs/checkpoint.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/bio.h>
 | 
					#include <linux/bio.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/data.c
 | 
					 * fs/f2fs/data.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs debugging statistics
 | 
					 * f2fs debugging statistics
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -5,10 +6,6 @@
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 * Copyright (c) 2012 Linux Foundation
 | 
					 * Copyright (c) 2012 Linux Foundation
 | 
				
			||||||
 * Copyright (c) 2012 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 | 
					 * Copyright (c) 2012 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/dir.c
 | 
					 * fs/f2fs/dir.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs extent cache support
 | 
					 * f2fs extent cache support
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -5,10 +6,6 @@
 | 
				
			||||||
 * Copyright (c) 2015 Samsung Electronics
 | 
					 * Copyright (c) 2015 Samsung Electronics
 | 
				
			||||||
 * Authors: Jaegeuk Kim <jaegeuk@kernel.org>
 | 
					 * Authors: Jaegeuk Kim <jaegeuk@kernel.org>
 | 
				
			||||||
 *          Chao Yu <chao2.yu@samsung.com>
 | 
					 *          Chao Yu <chao2.yu@samsung.com>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/f2fs.h
 | 
					 * fs/f2fs/f2fs.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#ifndef _LINUX_F2FS_H
 | 
					#ifndef _LINUX_F2FS_H
 | 
				
			||||||
#define _LINUX_F2FS_H
 | 
					#define _LINUX_F2FS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/file.c
 | 
					 * fs/f2fs/file.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/gc.c
 | 
					 * fs/f2fs/gc.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/module.h>
 | 
					#include <linux/module.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/gc.h
 | 
					 * fs/f2fs/gc.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define GC_THREAD_MIN_WB_PAGES		1	/*
 | 
					#define GC_THREAD_MIN_WB_PAGES		1	/*
 | 
				
			||||||
						 * a threshold to determine
 | 
											 * a threshold to determine
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/hash.c
 | 
					 * fs/f2fs/hash.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -7,10 +8,6 @@
 | 
				
			||||||
 * Portions of this code from linux/fs/ext3/hash.c
 | 
					 * Portions of this code from linux/fs/ext3/hash.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (C) 2002 by Theodore Ts'o
 | 
					 * Copyright (C) 2002 by Theodore Ts'o
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/types.h>
 | 
					#include <linux/types.h>
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,11 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/inline.c
 | 
					 * fs/f2fs/inline.c
 | 
				
			||||||
 * Copyright (c) 2013, Intel Corporation
 | 
					 * Copyright (c) 2013, Intel Corporation
 | 
				
			||||||
 * Authors: Huajun Li <huajun.li@intel.com>
 | 
					 * Authors: Huajun Li <huajun.li@intel.com>
 | 
				
			||||||
 *          Haicheng Li <haicheng.li@intel.com>
 | 
					 *          Haicheng Li <haicheng.li@intel.com>
 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/inode.c
 | 
					 * fs/f2fs/inode.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/namei.c
 | 
					 * fs/f2fs/namei.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/node.c
 | 
					 * fs/f2fs/node.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/node.h
 | 
					 * fs/f2fs/node.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
/* start node id of a node block dedicated to the given node id */
 | 
					/* start node id of a node block dedicated to the given node id */
 | 
				
			||||||
#define	START_NID(nid) (((nid) / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)
 | 
					#define	START_NID(nid) (((nid) / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/recovery.c
 | 
					 * fs/f2fs/recovery.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/segment.c
 | 
					 * fs/f2fs/segment.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/segment.h
 | 
					 * fs/f2fs/segment.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/blkdev.h>
 | 
					#include <linux/blkdev.h>
 | 
				
			||||||
#include <linux/backing-dev.h>
 | 
					#include <linux/backing-dev.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,10 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs shrinker support
 | 
					 * f2fs shrinker support
 | 
				
			||||||
 *   the basic infra was copied from fs/ubifs/shrinker.c
 | 
					 *   the basic infra was copied from fs/ubifs/shrinker.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2015 Motorola Mobility
 | 
					 * Copyright (c) 2015 Motorola Mobility
 | 
				
			||||||
 * Copyright (c) 2015 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
					 * Copyright (c) 2015 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/super.c
 | 
					 * fs/f2fs/super.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/module.h>
 | 
					#include <linux/module.h>
 | 
				
			||||||
#include <linux/init.h>
 | 
					#include <linux/init.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,10 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs sysfs interface
 | 
					 * f2fs sysfs interface
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 * Copyright (c) 2017 Chao Yu <chao@kernel.org>
 | 
					 * Copyright (c) 2017 Chao Yu <chao@kernel.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/compiler.h>
 | 
					#include <linux/compiler.h>
 | 
				
			||||||
#include <linux/proc_fs.h>
 | 
					#include <linux/proc_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs IO tracer
 | 
					 * f2fs IO tracer
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2014 Motorola Mobility
 | 
					 * Copyright (c) 2014 Motorola Mobility
 | 
				
			||||||
 * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
					 * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/fs.h>
 | 
					#include <linux/fs.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * f2fs IO tracer
 | 
					 * f2fs IO tracer
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2014 Motorola Mobility
 | 
					 * Copyright (c) 2014 Motorola Mobility
 | 
				
			||||||
 * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
					 * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#ifndef __F2FS_TRACE_H__
 | 
					#ifndef __F2FS_TRACE_H__
 | 
				
			||||||
#define __F2FS_TRACE_H__
 | 
					#define __F2FS_TRACE_H__
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/xattr.c
 | 
					 * fs/f2fs/xattr.c
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -13,10 +14,6 @@
 | 
				
			||||||
 *  suggestion of Luka Renko <luka.renko@hermes.si>.
 | 
					 *  suggestion of Luka Renko <luka.renko@hermes.si>.
 | 
				
			||||||
 * xattr consolidation Copyright (c) 2004 James Morris <jmorris@redhat.com>,
 | 
					 * xattr consolidation Copyright (c) 2004 James Morris <jmorris@redhat.com>,
 | 
				
			||||||
 *  Red Hat Inc.
 | 
					 *  Red Hat Inc.
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include <linux/rwsem.h>
 | 
					#include <linux/rwsem.h>
 | 
				
			||||||
#include <linux/f2fs_fs.h>
 | 
					#include <linux/f2fs_fs.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * fs/f2fs/xattr.h
 | 
					 * fs/f2fs/xattr.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -9,10 +10,6 @@
 | 
				
			||||||
 * On-disk format of extended attributes for the ext2 filesystem.
 | 
					 * On-disk format of extended attributes for the ext2 filesystem.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * (C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org>
 | 
					 * (C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org>
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#ifndef __F2FS_XATTR_H__
 | 
					#ifndef __F2FS_XATTR_H__
 | 
				
			||||||
#define __F2FS_XATTR_H__
 | 
					#define __F2FS_XATTR_H__
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,9 @@
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * include/linux/f2fs_fs.h
 | 
					 * include/linux/f2fs_fs.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
					 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 | 
				
			||||||
 *             http://www.samsung.com/
 | 
					 *             http://www.samsung.com/
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * 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.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#ifndef _LINUX_F2FS_FS_H
 | 
					#ifndef _LINUX_F2FS_FS_H
 | 
				
			||||||
#define _LINUX_F2FS_FS_H
 | 
					#define _LINUX_F2FS_FS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue