X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Ftypes.h;h=08a55aa53d4e57d2f9564342c99523170f18a913;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a98731ece42e4606c7c1378d54c3f2371e21158f;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/fs/ntfs/types.h b/fs/ntfs/types.h index a98731ece..08a55aa53 100644 --- a/fs/ntfs/types.h +++ b/fs/ntfs/types.h @@ -53,34 +53,6 @@ typedef sle64 leLCN; typedef s64 LSN; typedef sle64 leLSN; -/** - * runlist_element - in memory vcn to lcn mapping array element - * @vcn: starting vcn of the current array element - * @lcn: starting lcn of the current array element - * @length: length in clusters of the current array element - * - * The last vcn (in fact the last vcn + 1) is reached when length == 0. - * - * When lcn == -1 this means that the count vcns starting at vcn are not - * physically allocated (i.e. this is a hole / data is sparse). - */ -typedef struct { /* In memory vcn to lcn mapping structure element. */ - VCN vcn; /* vcn = Starting virtual cluster number. */ - LCN lcn; /* lcn = Starting logical cluster number. */ - s64 length; /* Run length in clusters. */ -} runlist_element; - -/** - * runlist - in memory vcn to lcn mapping array including a read/write lock - * @rl: pointer to an array of runlist elements - * @lock: read/write spinlock for serializing access to @rl - * - */ -typedef struct { - runlist_element *rl; - struct rw_semaphore lock; -} runlist; - typedef enum { FALSE = 0, TRUE = 1