patch-2.4.7 linux/fs/ntfs/struct.h
Next file: linux/fs/ntfs/super.c
Previous file: linux/fs/ntfs/ntfstypes.h
Back to the patch index
Back to the overall index
- Lines: 57
- Date:
Mon Jul 16 15:14:10 2001
- Orig file:
v2.4.6/linux/fs/ntfs/struct.h
- Orig date:
Wed Apr 18 11:49:13 2001
diff -u --recursive --new-file v2.4.6/linux/fs/ntfs/struct.h linux/fs/ntfs/struct.h
@@ -1,7 +1,8 @@
-/* struct.h - Structure definitions
+/*
+ * struct.h - Structure definitions
*
- * Copyright (C) 1997 Régis Duchesne
- * Copyright (C) 2000-2001 Anton Altaparmakov (AIA)
+ * Copyright (C) 1997 Régis Duchesne
+ * Copyright (C) 2000-2001 Anton Altaparmakov (AIA)
*/
/* Necessary forward definition. */
@@ -14,7 +15,6 @@
#define ngt_posix 3 /* all names except hidden files */
#define ngt_full 4 /* all entries */
-
typedef struct ntfs_sb_info ntfs_volume;
typedef struct {
@@ -27,31 +27,31 @@
ntfs_u16 *name;
int namelen;
int attrno;
- int size, allocated, initialized, compsize;
+ __s64 size, allocated, initialized, compsize;
int compressed, resident, indexed;
int cengine;
union {
void *data; /* if resident */
struct {
ntfs_runlist *runlist;
- int len;
+ unsigned long len;
} r;
} d;
} ntfs_attribute;
+typedef struct ntfs_inode_info ntfs_inode;
+
/* Structure to define IO to user buffer. do_read means that the destination
* has to be written using fn_put, do_write means that the destination has to
* read using fn_get. So, do_read is from a user's point of view, while put and
* get are from the driver's point of view. The first argument is always the
* destination of the IO. */
-typedef struct ntfs_inode_info ntfs_inode;
-
typedef struct ntfs_io{
int do_read;
void (*fn_put)(struct ntfs_io *dest, void *buf, ntfs_size_t);
void (*fn_get)(void *buf, struct ntfs_io *src, ntfs_size_t len);
void *param;
- int size;
+ unsigned long size;
} ntfs_io;
#if 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)