hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/fs/ntfs/inode.h
....@@ -1,24 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of
34 * the Linux-NTFS project.
45 *
56 * Copyright (c) 2001-2007 Anton Altaparmakov
67 * Copyright (c) 2002 Richard Russon
7
- *
8
- * This program/include file is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU General Public License as published
10
- * by the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program/include file is distributed in the hope that it will be
14
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program (in the main directory of the Linux-NTFS
20
- * distribution in the file COPYING); if not, write to the Free Software
21
- * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
228 */
239
2410 #ifndef _LINUX_NTFS_INODE_H
....@@ -267,9 +253,7 @@
267253 ATTR_TYPE type;
268254 } ntfs_attr;
269255
270
-typedef int (*test_t)(struct inode *, void *);
271
-
272
-extern int ntfs_test_inode(struct inode *vi, ntfs_attr *na);
256
+extern int ntfs_test_inode(struct inode *vi, void *data);
273257
274258 extern struct inode *ntfs_iget(struct super_block *sb, unsigned long mft_no);
275259 extern struct inode *ntfs_attr_iget(struct inode *base_vi, ATTR_TYPE type,
....@@ -278,7 +262,7 @@
278262 u32 name_len);
279263
280264 extern struct inode *ntfs_alloc_big_inode(struct super_block *sb);
281
-extern void ntfs_destroy_big_inode(struct inode *inode);
265
+extern void ntfs_free_big_inode(struct inode *inode);
282266 extern void ntfs_evict_big_inode(struct inode *vi);
283267
284268 extern void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni);