patch-2.3.99-pre3 linux/fs/ntfs/inode.c
Next file: linux/fs/open.c
Previous file: linux/fs/ntfs/fs.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Mar 19 19:10:51 2000
- Orig file:
v2.3.99-pre2/linux/fs/ntfs/inode.c
- Orig date:
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/fs/ntfs/inode.c linux/fs/ntfs/inode.c
@@ -258,7 +258,7 @@
if( !buf )
return;
delta=0;
- for(offset=0;datasize;datasize-=len)
+ for(offset=0;datasize;datasize-=len,offset+=len)
{
ntfs_io io;
io.fn_put=ntfs_put;
@@ -268,7 +268,7 @@
if(ntfs_read_attr(ino,vol->at_attribute_list,0,offset,&io)){
ntfs_error("error in load_attributes\n");
}
- delta=len;
+ delta+=len;
parse_attributes(ino,buf,&delta);
if(delta)
/* move remaining bytes to buffer start */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)