.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* -*- mode: c; c-basic-offset: 8; -*- |
---|
2 | 3 | * vim: noexpandtab sw=8 ts=8 sts=0: |
---|
3 | 4 | * |
---|
.. | .. |
---|
13 | 14 | * Universite Pierre et Marie Curie (Paris VI) |
---|
14 | 15 | * |
---|
15 | 16 | * The rest is copyright (C) 2010 Novell. All rights reserved. |
---|
16 | | - * |
---|
17 | | - * This program is free software; you can redistribute it and/or |
---|
18 | | - * modify it under the terms of the GNU General Public |
---|
19 | | - * License version 2 as published by the Free Software Foundation. |
---|
20 | | - * |
---|
21 | | - * This program is distributed in the hope that it will be useful, |
---|
22 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
23 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
24 | | - * General Public License for more details. |
---|
25 | 17 | */ |
---|
26 | 18 | |
---|
27 | 19 | #include <linux/fs.h> |
---|
.. | .. |
---|
40 | 32 | #endif |
---|
41 | 33 | |
---|
42 | 34 | static DEFINE_SPINLOCK(resv_lock); |
---|
43 | | - |
---|
44 | | -#define OCFS2_MIN_RESV_WINDOW_BITS 8 |
---|
45 | | -#define OCFS2_MAX_RESV_WINDOW_BITS 1024 |
---|
46 | 35 | |
---|
47 | 36 | int ocfs2_dir_resv_allowed(struct ocfs2_super *osb) |
---|
48 | 37 | { |
---|