X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Ftypes.h;h=8c8053b66984222fd3c4c744cc63c81e40124b7f;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=08a55aa53d4e57d2f9564342c99523170f18a913;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/fs/ntfs/types.h b/fs/ntfs/types.h index 08a55aa53..8c8053b66 100644 --- a/fs/ntfs/types.h +++ b/fs/ntfs/types.h @@ -2,7 +2,7 @@ * types.h - Defines for NTFS Linux kernel driver specific types. * Part of the Linux-NTFS project. * - * Copyright (c) 2001-2004 Anton Altaparmakov + * Copyright (c) 2001-2005 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 @@ -53,10 +53,13 @@ typedef sle64 leLCN; typedef s64 LSN; typedef sle64 leLSN; -typedef enum { - FALSE = 0, - TRUE = 1 -} BOOL; +/* + * The NTFS transaction log $UsnJrnl uses usn which are signed 64-bit values. + * We define our own type USN, to allow for type checking and better code + * readability. + */ +typedef s64 USN; +typedef sle64 leUSN; typedef enum { CASE_SENSITIVE = 0,