| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of |
|---|
| 3 | 4 | * the Linux-NTFS project. |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Copyright (c) 2001-2007 Anton Altaparmakov |
|---|
| 6 | 7 | * 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 |
|---|
| 22 | 8 | */ |
|---|
| 23 | 9 | |
|---|
| 24 | 10 | #ifndef _LINUX_NTFS_INODE_H |
|---|
| .. | .. |
|---|
| 267 | 253 | ATTR_TYPE type; |
|---|
| 268 | 254 | } ntfs_attr; |
|---|
| 269 | 255 | |
|---|
| 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); |
|---|
| 273 | 257 | |
|---|
| 274 | 258 | extern struct inode *ntfs_iget(struct super_block *sb, unsigned long mft_no); |
|---|
| 275 | 259 | extern struct inode *ntfs_attr_iget(struct inode *base_vi, ATTR_TYPE type, |
|---|
| .. | .. |
|---|
| 278 | 262 | u32 name_len); |
|---|
| 279 | 263 | |
|---|
| 280 | 264 | 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); |
|---|
| 282 | 266 | extern void ntfs_evict_big_inode(struct inode *vi); |
|---|
| 283 | 267 | |
|---|
| 284 | 268 | extern void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni); |
|---|