summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.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/async-thread.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/async-thread.h')
-rw-r--r--fs/btrfs/async-thread.h21
1 files changed, 5 insertions, 16 deletions
diff --git a/fs/btrfs/async-thread.h b/fs/btrfs/async-thread.h
index fc957e00cef1..7861c9feba5f 100644
--- a/fs/btrfs/async-thread.h
+++ b/fs/btrfs/async-thread.h
@@ -1,24 +1,12 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (C) 2007 Oracle. All rights reserved. 3 * Copyright (C) 2007 Oracle. All rights reserved.
3 * Copyright (C) 2014 Fujitsu. All rights reserved. 4 * Copyright (C) 2014 Fujitsu. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public
7 * License v2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 021110-1307, USA.
18 */ 5 */
19 6
20#ifndef __BTRFS_ASYNC_THREAD_ 7#ifndef BTRFS_ASYNC_THREAD_H
21#define __BTRFS_ASYNC_THREAD_ 8#define BTRFS_ASYNC_THREAD_H
9
22#include <linux/workqueue.h> 10#include <linux/workqueue.h>
23 11
24struct btrfs_fs_info; 12struct btrfs_fs_info;
@@ -85,4 +73,5 @@ void btrfs_set_work_high_priority(struct btrfs_work *work);
85struct btrfs_fs_info *btrfs_work_owner(const struct btrfs_work *work); 73struct btrfs_fs_info *btrfs_work_owner(const struct btrfs_work *work);
86struct btrfs_fs_info *btrfs_workqueue_owner(const struct __btrfs_workqueue *wq); 74struct btrfs_fs_info *btrfs_workqueue_owner(const struct __btrfs_workqueue *wq);
87bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq); 75bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq);
76
88#endif 77#endif