Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/libntfs
In directory usw-pr-cvs1:/tmp/cvs-serv9019/libntfs
Modified Files:
mft.c
Log Message:
Throw away all unnecessary crap.
Index: mft.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/mft.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -U2 -r1.11 -r1.12
--- mft.c 15 Dec 2001 05:13:08 -0000 1.11
+++ mft.c 14 Apr 2002 13:34:49 -0000 1.12
@@ -22,1021 +22,4 @@
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-
-#include "types.h"
-#include "list.h"
#include "mft.h"
-#include "endians.h"
-#include "disk_io.h"
[...990 lines suppressed...]
-/**
- * ntfs_close - close an open ntfs_file
- * @f: ntfs_file to close
- *
- * Close a previously opened ntfs file. Return 0 on success or -1 if file is
- * busy.
- */
-int ntfs_close(ntfs_file *f)
-{
- ntfs_volume *v;
-
- if (--f->f_count > 1)
- return 0;
- /* Remove all mft_refs/_entries from @f and, if no errors, remove @f
- * from its volume and kill the file. */
- if (!__remove_all_mft_entries_from_file(f))
- return __free_ntfs_file(f);
- return -1;
-}
|