summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-04-03 13:16:55 -0400
committerDavid Sterba <dsterba@suse.com>2018-04-12 10:29:46 -0400
commit9888c3402c8567a977de37f61e9dd87792723064 (patch)
treefee4ddbd585f4996612dcf8e93088ec2901fe490 /fs/btrfs/tree-log.h
parent471d557afed155b85da237ec46c549f443eeb5de (diff)
btrfs: replace GPL boilerplate by SPDX -- headers
Remove GPL boilerplate text (long, short, one-line) and keep the rest, ie. personal, company or original source copyright statements. Add the SPDX header. Unify the include protection macros to match the file names. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.h')
-rw-r--r--fs/btrfs/tree-log.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/fs/btrfs/tree-log.h b/fs/btrfs/tree-log.h
index 88abc43312a1..122e68b89a5a 100644
--- a/fs/btrfs/tree-log.h
+++ b/fs/btrfs/tree-log.h
@@ -1,23 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (C) 2008 Oracle. All rights reserved. 3 * Copyright (C) 2008 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public
14 * License along with this program; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 * Boston, MA 021110-1307, USA.
17 */ 4 */
18 5
19#ifndef __TREE_LOG_ 6#ifndef BTRFS_TREE_LOG_H
20#define __TREE_LOG_ 7#define BTRFS_TREE_LOG_H
21 8
22#include "ctree.h" 9#include "ctree.h"
23#include "transaction.h" 10#include "transaction.h"
@@ -87,4 +74,5 @@ void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans,
87int btrfs_log_new_name(struct btrfs_trans_handle *trans, 74int btrfs_log_new_name(struct btrfs_trans_handle *trans,
88 struct btrfs_inode *inode, struct btrfs_inode *old_dir, 75 struct btrfs_inode *inode, struct btrfs_inode *old_dir,
89 struct dentry *parent); 76 struct dentry *parent);
77
90#endif 78#endif