patch-2.4.0-test2 linux/fs/ntfs/inode.c
Next file: linux/fs/ntfs/super.c
Previous file: linux/fs/ntfs/fs.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Jun 21 10:10:02 2000
- Orig file:
v2.4.0-test1/linux/fs/ntfs/inode.c
- Orig date:
Mon Mar 27 08:08:30 2000
diff -u --recursive --new-file v2.4.0-test1/linux/fs/ntfs/inode.c linux/fs/ntfs/inode.c
@@ -6,6 +6,7 @@
* Copyright (C) 1996-1997 Régis Duchesne
* Copyright (C) 1998 Joseph Malicki
* Copyright (C) 1999 Steve Dodd
+ * Copyright (C) 2000 Anton Altaparmakov
*/
#include "ntfstypes.h"
@@ -551,11 +552,11 @@
dest->size=chunk;
error=ntfs_getput_clusters(ino->vol,s_cluster,
offset-s_vcn*clustersize,dest);
- if(error)/* FIXME: maybe return failure */
+ if(error)
{
ntfs_error("Read error\n");
dest->size=copied;
- return 0;
+ return error;
}
l-=chunk;
copied+=chunk;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)