diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2011-09-07 06:25:03 +0000 |
---|---|---|
committer | Paulo Alcantara <pcacjr@gmail.com> | 2011-09-11 04:09:59 +0000 |
commit | a0e388a0440a11a956f63b79b6c56e5b807ee950 (patch) | |
tree | 851bd01d1d923222bde68a9f2a9aa43659a5fdfe /core/fs/ntfs/ntfs.h | |
parent | d782f2a2aec66486a62d41dbd4bca3b95fa295a8 (diff) | |
download | syslinux-a0e388a0440a11a956f63b79b6c56e5b807ee950.tar.gz |
ntfs: use a runlist for handling multiple data runs
NTFS files can contain multiple data runs, so use a runlist for handling
multiple data runs of a single file, and also modify ntfs_next_extent()
in order to support this new feature.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Diffstat (limited to 'core/fs/ntfs/ntfs.h')
-rw-r--r-- | core/fs/ntfs/ntfs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fs/ntfs/ntfs.h b/core/fs/ntfs/ntfs.h index 611ae3d9..6bd78ab5 100644 --- a/core/fs/ntfs/ntfs.h +++ b/core/fs/ntfs/ntfs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) Paulo Alcantara <pcacjr@gmail.com> + * Copyright (C) Paulo Alcantara <pcacjr@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -82,8 +82,7 @@ struct ntfs_inode { uint32_t offset; /* Data offset */ } resident; struct { /* Used only if non_resident is set */ - uint64_t len; - int64_t lcn; /* Logical Cluster Number offset */ + struct runlist *rlist; } non_resident; } data; union { @@ -111,9 +110,10 @@ enum { }; struct mapping_chunk { + uint64_t vcn; + int64_t lcn; uint64_t len; - int64_t lcn; /* Logical Cluster Number */ - uint32_t flags; /* Specific flags of this chunk */ + uint32_t flags; }; /* System defined attributes (32-bit) |