hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/fs/ocfs2/reservations.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* -*- mode: c; c-basic-offset: 8; -*-
23 * vim: noexpandtab sw=8 ts=8 sts=0:
34 *
....@@ -13,15 +14,6 @@
1314 * Universite Pierre et Marie Curie (Paris VI)
1415 *
1516 * 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.
2517 */
2618
2719 #include <linux/fs.h>
....@@ -40,9 +32,6 @@
4032 #endif
4133
4234 static DEFINE_SPINLOCK(resv_lock);
43
-
44
-#define OCFS2_MIN_RESV_WINDOW_BITS 8
45
-#define OCFS2_MAX_RESV_WINDOW_BITS 1024
4635
4736 int ocfs2_dir_resv_allowed(struct ocfs2_super *osb)
4837 {