lkml.org 
[lkml]   [1999]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [patch] "ntfs_s16 undeclared", missing includefiles
    Arjan van de Ven wrote:
    >
    > Hi,
    >
    > The following patch fixes the new ntfs-driver, it missed two include-files
    > so that line 422 of inode.c lead to an unknown ntfs_s16 type. The patch
    > fixes this by including the appropriate header-files.
    >

    The cause of this problem is actually that the definition of the basic
    NTFS types in fs/ntfs/ntfstypes.h is incompletely replicated in
    include/linux/ntfs_fs_i.h. Corrected as follows:

    --- linux/include/linux/ntfs_fs_i.h~ Fri Dec 19 15:24:22 1997
    +++ linux/include/linux/ntfs_fs_i.h Sun Jan 3 11:25:11 1999
    @@ -12,6 +12,10 @@
    typedef unsigned short ntfs_u16;
    typedef unsigned int ntfs_u32;
    typedef unsigned long long ntfs_u64;
    +typedef signed char ntfs_s8;
    +typedef signed short ntfs_s16;
    +typedef signed int ntfs_s32;
    +typedef signed long long ntfs_s64;
    #endif

    #ifndef NTMODE_T
    --
    Tom Eastep
    Compaq Computer Corporation
    Enterprise Computing Group
    Tandem Division
    tom.eastep@compaq.com

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.021 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site