X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Fdir.h;h=90a8c3f6520318a16b038680e64a58aba931a298;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=7b8ebee5d8c280a39ec359bc792949c04bd456d2;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/fs/ntfs/dir.h b/fs/ntfs/dir.h index 7b8ebee5d..90a8c3f65 100644 --- a/fs/ntfs/dir.h +++ b/fs/ntfs/dir.h @@ -2,20 +2,20 @@ * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of * the Linux-NTFS project. * - * Copyright (c) 2002 Anton Altaparmakov. + * Copyright (c) 2002-2004 Anton Altaparmakov * * This program/include file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty + * This program/include file is distributed in the hope that it will be + * useful, but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS + * along with this program (in the main directory of the Linux-NTFS * distribution in the file COPYING); if not, write to the Free Software * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -34,14 +34,13 @@ typedef struct { MFT_REF mref; FILE_NAME_TYPE_FLAGS type; u8 len; - uchar_t name[0]; + ntfschar name[0]; } __attribute__ ((__packed__)) ntfs_name; /* The little endian Unicode string $I30 as a global constant. */ -extern uchar_t I30[5]; +extern ntfschar I30[5]; extern MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, - const uchar_t *uname, const int uname_len, ntfs_name **res); + const ntfschar *uname, const int uname_len, ntfs_name **res); #endif /* _LINUX_NTFS_FS_DIR_H */ -