patch-2.4.10 linux/fs/ntfs/super.h
Next file: linux/fs/ntfs/support.c
Previous file: linux/fs/ntfs/super.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sat Sep 8 12:24:40 2001
- Orig file:
v2.4.9/linux/fs/ntfs/super.h
- Orig date:
Wed Jul 25 17:10:24 2001
diff -u --recursive --new-file v2.4.9/linux/fs/ntfs/super.h linux/fs/ntfs/super.h
@@ -3,11 +3,9 @@
*
* Copyright (C) 1995-1997 Martin von Löwis
* Copyright (C) 1996-1997 Régis Duchesne
+ * Copyright (c) 2001 Anton Altaparmakov
*/
-#define ALLOC_REQUIRE_LOCATION 1
-#define ALLOC_REQUIRE_SIZE 2
-
int ntfs_get_free_cluster_count(ntfs_inode *bitmap);
int ntfs_get_volumesize(ntfs_volume *vol, __s64 *vol_size);
@@ -18,13 +16,17 @@
int ntfs_release_volume(ntfs_volume *vol);
-void ntfs_insert_fixups(unsigned char *rec, int secsize);
+int ntfs_insert_fixups(unsigned char *rec, int rec_size);
-int ntfs_fixup_record(ntfs_volume *vol, char *record, char *magic, int size);
+int ntfs_fixup_record(char *record, char *magic, int size);
int ntfs_allocate_clusters(ntfs_volume *vol, ntfs_cluster_t *location,
- int *count, int flags);
+ ntfs_cluster_t *count, ntfs_runlist **rl, int *rl_len,
+ const NTFS_CLUSTER_ALLOCATION_ZONES zone);
+
+int ntfs_deallocate_cluster_run(const ntfs_volume *vol,
+ const ntfs_cluster_t lcn, const ntfs_cluster_t len);
-int ntfs_deallocate_clusters(ntfs_volume *vol, ntfs_cluster_t location,
- int count);
+int ntfs_deallocate_clusters(const ntfs_volume *vol, const ntfs_runlist *rl,
+ const int rl_len);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)