patch-2.2.17 linux/fs/ntfs/fs.c
Next file: linux/fs/ntfs/inode.c
Previous file: linux/fs/ntfs/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Sep 4 18:39:27 2000
- Orig file:
v2.2.16/fs/ntfs/fs.c
- Orig date:
Mon Sep 4 18:37:10 2000
diff -u --recursive --new-file v2.2.16/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -5,6 +5,7 @@
* Copyright (C) 1995-1997, 1999 Martin von Löwis
* Copyright (C) 1996 Richard Russon
* Copyright (C) 1996-1997 Régis Duchesne
+ * Copyright (C) 2000 Anton Altaparmakov
*/
#ifdef HAVE_CONFIG_H
@@ -79,7 +80,7 @@
io.param=buf;
io.size=count;
error=ntfs_read_attr(ino,ino->vol->at_data,NULL,*off,&io);
- if(error)return -error;
+ if(error && !io.size)return -error;
*off+=io.size;
return io.size;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)