hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/fs/ecryptfs/file.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /**
23 * eCryptfs: Linux filesystem encryption layer
34 *
....@@ -6,21 +7,6 @@
67 * Copyright (C) 2004-2007 International Business Machines Corp.
78 * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com>
89 * Michael C. Thompson <mcthomps@us.ibm.com>
9
- *
10
- * This program is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License as
12
- * published by the Free Software Foundation; either version 2 of the
13
- * License, or (at your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful, but
16
- * WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
- * General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU General Public License
21
- * along with this program; if not, write to the Free Software
22
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23
- * 02111-1307, USA.
2410 */
2511
2612 #include <linux/file.h>
....@@ -392,6 +378,7 @@
392378 return rc;
393379
394380 switch (cmd) {
381
+ case FITRIM:
395382 case FS_IOC32_GETFLAGS:
396383 case FS_IOC32_SETFLAGS:
397384 case FS_IOC32_GETVERSION: