| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2001-2007 Anton Altaparmakov |
|---|
| 5 | 6 | * Copyright (c) 2002 Richard Russon |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program/include file is free software; you can redistribute it and/or |
|---|
| 8 | | - * modify it under the terms of the GNU General Public License as published |
|---|
| 9 | | - * by the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program/include file is distributed in the hope that it will be |
|---|
| 13 | | - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty |
|---|
| 14 | | - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | | - * |
|---|
| 17 | | - * You should have received a copy of the GNU General Public License |
|---|
| 18 | | - * along with this program (in the main directory of the Linux-NTFS |
|---|
| 19 | | - * distribution in the file COPYING); if not, write to the Free Software |
|---|
| 20 | | - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 21 | 7 | */ |
|---|
| 22 | 8 | |
|---|
| 23 | 9 | #include <linux/buffer_head.h> |
|---|
| 24 | 10 | #include <linux/slab.h> |
|---|
| 11 | +#include <linux/blkdev.h> |
|---|
| 25 | 12 | |
|---|
| 26 | 13 | #include "dir.h" |
|---|
| 27 | 14 | #include "aops.h" |
|---|
| .. | .. |
|---|
| 1517 | 1504 | na.type = AT_BITMAP; |
|---|
| 1518 | 1505 | na.name = I30; |
|---|
| 1519 | 1506 | na.name_len = 4; |
|---|
| 1520 | | - bmp_vi = ilookup5(vi->i_sb, vi->i_ino, (test_t)ntfs_test_inode, &na); |
|---|
| 1507 | + bmp_vi = ilookup5(vi->i_sb, vi->i_ino, ntfs_test_inode, &na); |
|---|
| 1521 | 1508 | if (bmp_vi) { |
|---|
| 1522 | 1509 | write_inode_now(bmp_vi, !datasync); |
|---|
| 1523 | 1510 | iput(bmp_vi); |
|---|